[C2hs] patch applied (c2hs): Use a newtype for building reversed lists

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Feb 22 19:39:14 EST 2007


Thu Feb 22 16:21:30 PST 2007  Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
  * Use a newtype for building reversed lists
  When building lists up in reverse it's rather easy to forget to reverse
  them when we get to the top level. So introduce a newtype and operations
  for reversed lists. This way the type will tell us where we've forgot to
  reverse (and there were one or two places)

    M ./c2hs/c/CParser.y -46 +77


More information about the C2hs mailing list