[Haskell-beginners] how to undertand the function join (*)

Ray 122234942 at qq.com
Thu Nov 30 13:18:46 UTC 2017


Hello Marcus,

what does join (*) do?

 

(*) :: Num a => a -> a -> a

join (*) :: Num a => a -> a




when we feed a number to join (*),for instance;

 λ> : join (*) 3 

 9

it seems thata join (*) become a square function.

what does join do to  (*) to make that happen?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20171130/3fc65bc3/attachment.html>


More information about the Beginners mailing list