Tim Disney

Results 108 comments of Tim Disney

Sorry about the delayed response. Did reverting to an older version of require.js work for you? If not could you post the entire compiled script that is failing for you?...

Good, I haven't been needing too badly either. It's just a convenience anyway since you can always do `NotNum = ?!(x) -> typeof isnt 'number'` Would still be nice to...

Currently contracts on arrays just restrict the array indexes they specify. So this is allowed: ``` coffee arr :: [Num, Str] arr = [42, "foo"] arr[10] = 24 ``` But...

Good point. When writing a contract it's probably most common for extensible arrays to be homogeneous (covered by `[...C]`) and non-extensible arrays to be heterogeneous (covered by `[C_1, C_2]`). So...

If you're using the latest contracts.coffee (0.2.0 released yesterday) then I think it should "just work". Just use require and the exports object like normal. I haven't tested it yet...

Haven't used browserify before so I'm not totally sure how it works...but is it possible to compile to js first with the contracts compiler and then use browserify?

> Sure, but that defeats the purpose of using Browserify to make it simple. Well, it still makes module loading simpler. Use contracts.coffee as compiler and browserify as module loader...separation...

Not really. As you can probably tell by the activity on this project I don't really have time to maintain it these days.

Yep, writing a transform makes sense to me.

Nope, Sadly no time to work on this for me. Be happy to answer questions if you or anyone else want to take it up though.