On Monday, March 10, 2014 10:43:09 AM UTC+1, Pierre R wrote: > > It looks like the easiest way to get "optional parameters" in Haskell > would be to change the type from `Int` to `Maybe Int` and then to use > `fromMaybe`: > > Note that Maybe Int is still awkward as it forces the user to write:
fromSocket connectionSocket Nothing -- You received this message because you are subscribed to the Google Groups "Haskell Pipes" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
