PasteRack.org
Paste # 37571
2018-11-15 15:11:24

Fork as a new paste.

Paste viewed 1772 times.


Embed:

  1. #lang racket
  2.  
  3. (string-replace "word" #\o #\y)

=>

string-replace: contract violation

  expected: string?

  given: #\y