thinkmoore
2017-1-7 15:46:14

pezi_pink: unfortunatley the _enum macro doesn’t generate functions for mapping back and forth


thinkmoore
2017-1-7 15:48:16

you can hack with conversions from the ffi library to get it working though


thinkmoore
2017-1-7 15:50:40

I think (ptr-ref the-cptr-to-convert _myenumname) will give you the symbol for an int, if the-cptr-to-convert is an _int


fahree
2017-1-7 20:21:05

Is there a tutorial for writing racket packages?


lexi.lambda
2017-1-7 20:23:43

@fahree: take a look at the section of the documentation on the package system http://docs.racket-lang.org/pkg/index.html


fahree
2017-1-7 20:24:01

thanks


mflatt
2017-1-7 21:11:21

@mflatt has joined the channel


robby
2017-1-7 21:11:45

@robby has joined the channel


notjack
2017-1-8 03:20:30

@mflatt @robby Welcome to the dark side of the bridge


robby
2017-1-8 05:29:30

@notjack: :)