[Haskell-cafe] concatenate two Maybe String...

Tom Ellis tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk
Tue Jan 8 07:47:20 UTC 2019


On Mon, Jan 07, 2019 at 05:13:13PM +0100, Damien Mattei wrote:
> just after in my code i have this to concatanate the two strings f and s
> that are the first and second element of the array:
...
> i do not want to do it using the hard way with case... of Just x ->
> nothing .........

Just do it the hard way and get some code that works.  You can always
"improve" it later if you like.  "Hard" code that works is orders of
magnitude more valuable that "easy" code that doesn't.


More information about the Haskell-Cafe mailing list