[C2hs] [c2hs] #45: Please indent all output lines from a {# fun ... #} to match the input indentation, to allow it in a where clause
c2hs
cvs-ghc at haskell.org
Wed Jul 4 19:27:06 CEST 2012
#45: Please indent all output lines from a {# fun ... #} to match the input
indentation, to allow it in a where clause
--------------------+-------------------------------------------------------
Reporter: guest | Type: defect
Status: new | Priority: normal
Milestone: | Component: general
Version: 0.16.0 | Keywords:
--------------------+-------------------------------------------------------
I tried to declare a {# fun ... #} in a where clause, but only the first
line had the proper indentation, causing GHC to complain that "The type
signature for `foo' lacks an accompanying binding" (because only the type
signature appeared within the where clause). Please consider indenting
all lines of a {# fun ... #} to match the input indentation, so that this
works.
--
Ticket URL: <http://hackage.haskell.org/trac/c2hs/ticket/45>
c2hs <http://www.cse.unsw.edu.au/~chak/haskell/c2hs/>
C->Haskell, An Interface Generator for Haskell
More information about the C2hs
mailing list