dmgolubovsky / yhc

Automatically exported from code.google.com/p/yhc
0 stars 0 forks source link

Yhc.Primitive._E should be called something else #152

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run haddock over Yhc.Primitive, note it balks on _E
2. Note that _E is lower-case in every other compiler

Solution: Rename _E to Box in all cases, since its effectively putting a
lazy box around all values. 

Original issue reported on code.google.com by ndmitch...@gmail.com on 25 Feb 2008 at 2:38

GoogleCodeExporter commented 9 years ago
Neil, if no one else has picked this up, would you mind if I owned it?  

Original comment by wch...@gmail.com on 19 Mar 2008 at 8:45

GoogleCodeExporter commented 9 years ago
wchogg: Feel free :)

After further reflection, I think other people suggested that:

data One a = One a

would be a better name than Box, as then it looks more like the One tuple. I 
think
Lennart wanted to actually add that definition to Data.Tuple, but that can be 
dealt
with later.

Original comment by ndmitch...@gmail.com on 21 Mar 2008 at 9:32