[Ur] interfacing with ruby

Marc Weber marco-oweber at gmx.de
Wed Dec 8 10:08:54 EST 2010


Excerpts from Adam Chlipala's message of Wed Dec 08 15:50:35 +0100 2010:
> And I'm saying that I don't know what part of that code your comment 
> referred to.

line 12:
http://gitorious.com/some-urweb-utility-libraries/uw-ruby/blobs/master/ruby.urs
val context : string -> value

The context function always returns an integer which represents the ctx
pointer. Its used to identify a request within Ruby.

I had to add the "string ->" to make it compile because
"context: value" did not.

Don't spend your time on it. I'm going to add an alias passing "" always
and that's it.

Marc Weber



More information about the Ur mailing list