#4385: Type-level natural numbers
----------------------------------------+-----------------------------------
Reporter: diatchki | Owner: diatchki
Type: feature request | Status: new
Priority: normal | Milestone: 7.2.1
Component: Compiler (Type checker) | Version:
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------------+-----------------------------------
Comment(by diatchki):
Replying to [comment:3 simonpj]:
> I wonder if you might use the GHC Trac Wiki instead?.
I moved the wiki pages to the GHC wiki:
http://hackage.haskell.org/trac/ghc/wiki/TypeNats
> * I really, really want to make operators into type '''constructors'''
rather than (as at present) type '''variables'''. So that we can write a
type `(a + b)` rather than `(a :+ b)`. See
http://hackage.haskell.org/trac/haskell-prime/wiki/InfixTypeConstructors.
Doing this is, I think, straightforward, but it still needs doing.
Agreed. In fact, I hacked this up on the plane ride back from ICFP, but
Happy pointed out that it leads to an ambiguity in imports and exports. I
described the issue and a potential solution in
http://hackage.haskell.org/trac/haskell-
prime/wiki/InfixTypeConstructors#Issues
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4385#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs