PasteRack.org
Paste # 15753
2018-08-04 19:56:05

Fork as a new paste.

Paste viewed 198 times.


Embed:

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

=>

default-load-handler: cannot open module file
  module path: data/applicative
  path: /home/pasterack/racket68/collects/data/applicative.rkt
  system error: No such file or directory; errno=2
  context...:
   standard-module-name-resolver
   /home/pasterack/racket68/collects/racket/require-transform.rkt:266:2: expand-import
   /home/pasterack/racket68/collects/racket/private/reqprov.rkt:571:24
   /home/pasterack/racket68/collects/racket/private/reqprov.rkt:559:5
   /home/pasterack/racket68/collects/racket/require-transform.rkt:266:2: expand-import
   /home/pasterack/racket68/collects/racket/private/reqprov.rkt:266:21: try-next
   /home/pasterack/racket68/collects/racket/private/reqprov.rkt:348:21: try-next
   /home/pasterack/racket68/collects/racket/private/reqprov.rkt:243:2
   /home/pasterack/racket68/collects/syntax/wrap-modbeg.rkt:46:4
   standard-module-name-resolver
   loop
   ...cket/cmdline.rkt:179:51
   /home/pasterack/racket68/share/pkgs/scribble-lib/scribble/run.rkt: [running body]