(leave off the line with func :: ???????????????
and the compiler will figure it out for you, if possible---it works in this case) Jared. On 7/14/06, Jared Updike <[EMAIL PROTECTED]> wrote:
Did you try putting this in a file, say, t.hs and running ghci t.hs then typing :type func at the GHCi prompt? It should tell you the function type. Jared. On 7/14/06, Jenny678 <[EMAIL PROTECTED]> wrote: > > Hallo > > Can somebody tell me the type of the following function? > > func :: ????????????? > func f x = (z,y) > where (z,y) = f x > > Thanks > -- > View this message in context: http://www.nabble.com/Type-of-a-function--tf1945843.html#a5335607 > Sent from the Haskell - Haskell-Cafe forum at Nabble.com. > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > -- http://www.updike.org/~jared/ reverse ")-:"
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe