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 | 5043 reads
|
Browse archives
Active forum topics |
Recent comments
1 week 5 days ago
42 weeks 16 hours ago
42 weeks 20 hours ago
42 weeks 20 hours ago
1 year 12 weeks ago
1 year 16 weeks ago
1 year 18 weeks ago
1 year 18 weeks ago
1 year 20 weeks ago
1 year 25 weeks ago