{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreidglrbnih6yes37mmzz7hgcaxwxduqq2wbvgfhixczifi6g4jy2iu",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mnhj2yqxqyy2"
},
"path": "/t/serokell-s-work-on-ghc-dependent-types-part-5/14184#post_7",
"publishedAt": "2026-06-04T09:43:07.000Z",
"site": "https://discourse.haskell.org",
"textContent": "> -- Expressions\n> t1 = Typed Int 42\n> t2 = Typed String “hello”\n> t3 = Typed (Int → Bool) even\n\nI’m so used to putting the type following the expr, this still doesn’t feel right (even though I knew it was coming). Is it really not possible to support\n\n\n t1’ = Typed 42 (type Int)\n\n Typed :: forall a. a → (type a) → T a\n\n\n",
"title": "Serokell’s Work on GHC: Dependent Types, Part 5"
}