On Sat, Jul 24, 2010 at 01:10:56PM +0200, Jürgen Doser wrote:
> This seems to be a bug in ghc. First, let's fix bar to give the full
> three arguments (Int, Float, Double) to g:
>
> bar f g = proc x -> do
> (f -< x) `foo` (\n m k -> g -< (n,m,k))
>
> ghc infers the type:
>
> bar :: (t -> Str
El vie, 23-07-2010 a las 23:27 -0400, Ronald Guida escribió:
> I am trying to figure out how to use GHC's arrow commands, and I found
> some extremely weird behavior.
CC'ed to ghc-users, because this may be a ghc bug.
> In GHC's manual, there is a description of arrow commands, which I
> don't re
I am trying to figure out how to use GHC's arrow commands, and I found
some extremely weird behavior.
In GHC's manual, there is a description of arrow commands, which I
don't really understand.
http://www.haskell.org/ghc/docs/latest/html/users_guide/arrow-notation.html#id667303
(Primitive Construc