Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Re: strange error inside a case (PICCA Frederic-Emmanuel) ---------------------------------------------------------------------- Message: 1 Date: Fri, 29 Nov 2019 18:23:45 +0000 From: PICCA Frederic-Emmanuel <frederic-emmanuel.pi...@synchrotron-soleil.fr> To: "The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell" <beginners@haskell.org> Subject: Re: [Haskell-beginners] strange error inside a case Message-ID: <a2a20ec3b8560d408356cac2fc148e53017d83a...@sun-dag3.synchrotron-soleil.fr> Content-Type: text/plain; charset="Windows-1252" > What is the type of hdf2mergedcbf' ? hdf2mergedcbf' :: Path Abs File -> Int -> Int -> IO () > Does it work if you write `void (hdf2mergedcbf' (head masters) 1 1)` ? nop • In the expression: void (hdf2mergedcbf' (head masters) 1 1) In a case alternative: (SomeDataCollection SCollect SHdf5 _) -> void (hdf2mergedcbf' (head masters) 1 1) In the second argument of ‘($)’, namely ‘case col of { (SomeDataCollection SCollect SHdf5 _) -> void (hdf2mergedcbf' (head masters) 1 1) }’ | 184 | (SomeDataCollection SCollect SHdf5 _) -> void (hdf2mergedcbf' (head masters) 1 1) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ HsCompilation exited abnormally with code 1 at Fri Nov 29 19:23:04 ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 137, Issue 15 ******************************************