PasteRack.org
Paste # 65693
2018-08-04 19:55:50

Fork as a new paste.

Paste viewed 173 times.


Embed:

#lang racket
(require
 data/applicative
 data/functor
 (only-in (submod data/applicative custom-app) [#%app #%app-applicative])
((identity +) (identity 1) (identity 2))

=>

prog:2:0: read: expected a `)' to close `('
  possible cause: indentation suggests a missing `)' before line 6
  context...:
   /home/pasterack/racket68/collects/syntax/module-reader.rkt:186:17: body
   /home/pasterack/racket68/collects/syntax/module-reader.rkt:183:2: wrap-internal
   /home/pasterack/racket68/collects/racket/../syntax/module-reader.rkt:65:9: lang:read-syntax
   /home/pasterack/racket68/share/pkgs/scribble-lib/scribble/private/manual-code.rkt:112:0: get-tokens
   /home/pasterack/racket68/share/pkgs/scribble-lib/scribble/private/manual-code.rkt:56:0: typeset-code15
   /home/pasterack/pasterack/tmp/65693/65693code.scrbl: [running body]
   loop
   ...cket/cmdline.rkt:179:51
   /home/pasterack/racket68/share/pkgs/scribble-lib/scribble/run.rkt: [running body]