nullman has quit [Ping timeout: 240 seconds]
nullman has joined #racket
aidalgol has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 264 seconds]
_whitelogger has joined #racket
tilpner_ has joined #racket
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
aidalgol has joined #racket
efm has quit [Quit: Konversation terminated!]
lockywolf has joined #racket
nikita_ has joined #racket
nikita` has quit [Ping timeout: 260 seconds]
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 258 seconds]
casaca has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 240 seconds]
casaca has joined #racket
_whitelogger has joined #racket
nullman has quit [Ping timeout: 258 seconds]
nullman has joined #racket
_whitelogger has joined #racket
aidalgol has quit [Remote host closed the connection]
orivej has joined #racket
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #racket
lockywolf__ has joined #racket
lockywolf__ has quit [Max SendQ exceeded]
lockywolf__ has joined #racket
lockywolf_ has quit [Ping timeout: 240 seconds]
lockywolf__ has quit [Max SendQ exceeded]
lockywolf__ has joined #racket
lockywolf__ has quit [Max SendQ exceeded]
lockywolf__ has joined #racket
lockywolf__ has quit [Max SendQ exceeded]
lockywolf__ has joined #racket
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
lockywolf_ has quit [Remote host closed the connection]
lockywolf__ has quit [Ping timeout: 246 seconds]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
narimiran has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
c7d9 has joined #racket
lockywolf_ has quit [Remote host closed the connection]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
rgherdt has joined #racket
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #racket
Lowl3v3l has quit [Quit: Leaving.]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej has quit [Ping timeout: 258 seconds]
YuGiOhJCJ has joined #racket
nikita_ is now known as nikita`
Codaraxis__ has joined #racket
Codaraxis_ has quit [Ping timeout: 240 seconds]
_whitelogger has joined #racket
aidalgol has joined #racket
_apg has joined #racket
Codaraxis_ has joined #racket
Codaraxis__ has quit [Ping timeout: 246 seconds]
Sgeo has quit [Read error: Connection reset by peer]
ArthurStrong has joined #racket
orivej has joined #racket
dddddd has quit [Ping timeout: 260 seconds]
orivej_ has joined #racket
orivej has quit [Ping timeout: 256 seconds]
sagax has joined #racket
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #racket
orivej has quit [Ping timeout: 240 seconds]
TCZ has joined #racket
orivej has joined #racket
<
erkin>
Is it possible to import only `define' and `lambda' from racket/base?
c7d9 has quit [Remote host closed the connection]
orivej_ has joined #racket
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #racket
orivej_ has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
ephemera_ has quit [Quit: No Ping reply in 180 seconds.]
ephemera_ has joined #racket
narimiran has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
TCZ has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej_ has joined #racket
orivej has quit [Ping timeout: 264 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<
samth>
erkin: (require (only-in racket/base define lambda))
orivej has joined #racket
rgherdt has quit [Quit: Leaving]
<
erkin>
samth: What would I put in the #lang line though?
<
samth>
oh, you want a language that's just that
<
erkin>
Yeah, to see how much of a language I can implement with lambda calculus alone.
<
samth>
you have to define a module that just provides those two things
<
samth>
although you need to provide #%app as well
<
erkin>
Is it possible to rid the reader of numbers as well?
TCZ has quit [Quit: Leaving]
TCZ has joined #racket
TCZ has quit [Client Quit]
dataangel has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #racket
rgherdt has joined #racket
<
samth>
erkin: if you just provide those bindings, numbers won't be allowed
<
samth>
rudybot: init racket/base
<
rudybot>
samth: your racket/base sandbox is ready
<
samth>
rudybot: (module lam racket/base (provide define lambda #%app))
<
rudybot>
samth: Done.
<
samth>
rudybot: (module lam racket/base (provide #%module-begin define lambda #%app))
<
rudybot>
samth: Done.
<
samth>
rudybot: (module x 'lam (lambda (x) x))
<
rudybot>
samth: Done.
<
samth>
rudybot: (module x 'lam (lambda (x) 5))
<
rudybot>
samth: error: eval:1:27: ?: literal data is not allowed; <NEWLINE> no #%datum syntax transformer is bound <NEWLINE> in: 5
<
samth>
rudybot: (module x 'lam (lambda (x) (x x)))
<
rudybot>
samth: Done.
<
samth>
rudybot: (require 'x)
<
rudybot>
samth: ; stdout: "#<procedure>\n"
acarrico has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
TCZ has joined #racket
ArthurStrong has quit [Ping timeout: 240 seconds]
ArthurStrong has joined #racket
dddddd has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej_ has joined #racket
orivej has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #racket
<
erkin>
I take it I can do, say (define 0 (λ (f) (λ (x) x)))?
<
erkin>
I specified (module lam racket/base (provide define λ #%app #%module-begin)) but I'm still getting "no #%module-begin binding" error.
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #racket
<
erkin>
Ah, I don't need to wrap it in (module ...) if it's #lang s-exp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
badkins has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
Lowl3v3l has joined #racket
Sgeo has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #racket
badkins has joined #racket
TCZ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #racket
jellie has joined #racket
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #racket
jellie has quit [Ping timeout: 246 seconds]
orivej_ has joined #racket
orivej has quit [Ping timeout: 256 seconds]
notzmv has quit [Read error: Connection reset by peer]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #racket
jellie has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
sauvin has quit [Read error: Connection reset by peer]
jellie has quit [Ping timeout: 258 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
jellie has joined #racket
jellie has quit [Read error: Connection reset by peer]
jellie has joined #racket
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #racket
akkad has joined #racket
jellie has quit [Ping timeout: 240 seconds]
narimiran has joined #racket
jellie has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
aidalgol has quit [Remote host closed the connection]
akkad is now known as Ober
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
zmt01 has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
zmt00 has quit [Ping timeout: 260 seconds]
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #racket
TCZ has joined #racket
Lowl3v3l has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 265 seconds]
jellie has quit [Quit: WeeChat 2.8]
orivej has joined #racket
nikita` has quit [Quit: leaving]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
narimiran has quit [Ping timeout: 265 seconds]
aidalgol has joined #racket
casaca has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #racket
emacsen has joined #racket
vraid has joined #racket
notzmv has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
badkins has joined #racket
orivej has quit [Quit: No Ping reply in 210 seconds.]
orivej has joined #racket
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
TCZ has quit [Quit: Leaving]
badkins has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 258 seconds]
dataangel has joined #racket
rgherdt has quit [Ping timeout: 260 seconds]
TCZ has joined #racket
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
badkins has joined #racket