PasteRack.org
Paste # 32691
2017-10-10 22:10:47

Fork as a new paste.

Paste viewed 162 times.


Embed:

  1. ; string->boolean: string -> boolean
  2. ; takes in a string and returns a bolean
  3. (define (string-> boolean s)
  4.   (string? s))
  5. (check-expect (string->boolean "hi") #true)
  6. (check-expect (string->boolean 1) #false)

=>

load-handler: expected a `module' declaration for `pasterack' in "paste 32691", but found something else

Check that paste includes #lang?