<div dir="ltr">It's an interesting feature, and nice if you want that sort of thing, but not something I'd personally want to see as the default. Deviating from the standard ASCII set of characters is just too much of a hurdle to usability of the language. If you really like that sort of thing though you might want to look into APL which is either famous or infamous depending on your outlook for needing its own custom keyboard in order to write it.<br>
</div><div class="gmail_extra"><br clear="all"><div>-R. Kyle Murphy<br>--<br>Curiosity was framed, Ignorance killed the cat.</div>
<br><br><div class="gmail_quote">On Thu, Apr 24, 2014 at 1:15 PM, Rustom Mody <span dir="ltr"><<a href="mailto:rustompmody@gmail.com" target="_blank">rustompmody@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>I'm mighty pleased to note that the following is valid Haskell code!<br><br></div>Do others find this useful/appealing?<br></div>Any possibilities on making the commented out parts work?<br>


</div><br>[Pragmatics about typing this at the same speed and facility as we do with Ascii is a separate and (IMHO) solvable problem though its not the case at the moment]<br><div><div><div><div><br><br>--------------------<br>


import qualified Data.Set as Set<br>-- Experimenting with Unicode in Haskell source<br><br>-- Numbers<br>x ≠ y   = x /= y<br>x ≤ y   = x <= y<br>x ≥ y   = x >= y<br>x ÷ y   = divMod x y<br>x ⇑ y   = x ^ y<br>         <br>


x × y   = x * y -- readability hmmm !!!<br>π = pi   <br>         <br>-- ⌊ x = floor x<br>-- ⌈ x = ceiling x<br><br>-- Lists         <br>xs ⤚ ys = xs ++ ys<br><br>-- Bools<br>x ∧ y   = x && y <br>x ∨ y   = y || y<br>


-- ¬x = not x<br><br><br>-- Sets<br><br>x ∈ s   = x `Set.member` s -- or keep ∈ for list elem?<br>s ∪ t   = s `Set.union` t<br>s ∩ t   = s `Set.intersection` t<br>s ⊆ t   = s `Set.isSubsetOf` t<br>s ⊂ t   = s `Set.isProperSubsetOf` t<br>


s ⊈ t   = not (s `Set.isSubsetOf` t)<br>-- ∅ = Set.null<br><br>
</div></div></div></div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>