Alexander Dean
Alexander Dean
Cool idea - see https://github.com/snowplow/schema-guru/ for a tool we worked on that does this
Thanks for checking this @egonSchiele ! Super-weird. I took your example and ran it inside a very similar irb environment to our end-app, and it worked. I then tweaked it...
Hey @alex-fedorov - that's the odd thing, the lambda is not callable. In my downstream code where I try to figure out the lambda's arity, I get this error: ```...
Ah! I think I understand now. The contract on the lambda-generating function implies some kind of wrapping of the returned lambda, otherwise how can the contract of that lambda be...
The strange thing is that this test case is working: ``` ruby require "contracts" module Foo module Bar include Contracts Contract String => Func[Num => Num] def self.test(some_arg) return lambda...
This is still live in 2.0.0. We should fix it as it affects the README's example, which is very confusing for new starters...
Happy to publish when @piotrga gives the word
Hey guys - we're not using this library at Snowplow currently so can't really spare the time to manage the build and publication process. Sorry about that.
I don't have time to do this, plus I think it might be complicated given I'm not the repo's owner. Pushing back
This is a good idea @jf - thanks for raising! Will merge when I get a chance to update the corresponding chapter...