That was on purpose! In J you get the error at runtime, with Haskell it catches it at compile time. Even though there isn't a compile time in J, it would catch it at type checking time, before runtime. But I put forth 2 different scenarios. Giving an optional typesystem for J (Which has just recently been done: https://github.com/Pascal-J/type-system-j) and fitting things like sum types into J's model. The latter being much more of a task. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
- [Jchat] I think people in this forum would agree Joey K Tuttle
- Re: [Jchat] I think people in this forum would agr... Aistis Raulinaitis
- Re: [Jchat] I think people in this forum would... Joey K Tuttle
- Re: [Jchat] I think people in this forum w... Aistis Raulinaitis
- Re: [Jchat] I think people in this for... Devon McCormick
- Re: [Jchat] I think people in thi... Aistis Raulinaitis
- Re: [Jchat] I think people in... Raul Miller
- Re: [Jchat] I think people in this for... Roger Hui
- Re: [Jchat] I think people in thi... Aistis Raulinaitis
- Re: [Jchat] I think people in... Aistis Raulinaitis
- Re: [Jchat] I think people in... Raul Miller
- Re: [Jchat] I think people in... Roger Hui
- Re: [Jchat] I think peopl... Aistis Raulinaitis
- Re: [Jchat] I think peopl... Raul Miller
- Re: [Jchat] I think people in this forum would... Devon McCormick
