multiline comments in racket? in ruby

In Racket, multiline comments are enclosed between #| and |#.

#|
This is a multiline comment
It can span multiple lines
|#
61 chars
5 lines

In Ruby, multiline comments are enclosed between =begin and =end.

main.rb
=begin
This is a multiline comment
It can span multiple lines
=end
67 chars
5 lines

Please note that Ruby also supports single-line comments starting with #.

related categories

gistlibby LogSnag