User loginNavigation |
GADTs as gaurdsIs there some reason Haskell didn't expose GADTs as guards? -- Haskell data Term t Lit Int :: Term Int App (Term (a -> b)) Term a :: Term b ... -- Guards data Term t Lit Int where t = Int App (Term (a -> b)) Term a where t = b ... It seems equivalent and semantically simpler. By Matt M at 2018-03-07 18:54 | LtU Forum | previous forum topic | next forum topic | other blogs | 4764 reads
|
Browse archives
Active forum topics
|
Recent comments
9 weeks 5 days ago
14 weeks 7 hours ago
15 weeks 4 days ago
15 weeks 4 days ago
18 weeks 2 days ago
22 weeks 6 days ago
22 weeks 6 days ago
23 weeks 2 days ago
23 weeks 2 days ago
26 weeks 1 day ago