[Haskell-cafe] Re: Monoid wants a (++) equivalent

2009-07-02 Thread Heinrich Apfelmus
Ross Paterson wrote:
 On Wed, Jul 01, 2009 at 04:53:05PM +0200, Thomas Davie wrote:
 On 1 Jul 2009, at 16:46, Edward Kmett wrote:

 I'm rather fond of the () suggestion, but would be happy with  
 anything better than mappend! ;)
 I find it rather ugly, it has a lot of connotations of does not equals 
 from other languages.
 
 Forget Pascal: think of it as a diamond.

I too like shiny diamonds, as exemplified in

  http://apfelmus.nfshost.com/monoid-fingertree.html



Regards,
apfelmus

--
http://apfelmus.nfshost.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Monoid wants a (++) equivalent

2009-07-02 Thread Maciej Piechotka
Ketil Malde ketil at malde.org writes:

 
 You know, this might be the right time to start expanding our
 vocabulary beyond seven bits.  Since we're likely to keep mappend
 around as an alias for some time, people would have a grace period to
 adjust. 
 
 How about U+2295 (circle with plus inside it)?
 
 Or, if we would like to stick to the 8-bit subset to keep those 8859-1
 users happy, how about ยค (funny circle over an x, U+00A4)
 
 -k

I can work with any symbols as long as they are easily typeable. ++ is 3 easy
key press. `mappend` is 9. In both cases I don't need to look on keyboard as I
know exactly where they are. However there is no way I can remember where U+00A4
is - probably it is not on all keyboards (reversing  and @ gives me a lot of
problems in UK keyboards. FR keyboards was nightmare just because a few keys
where at different place). In fact I'd need to open keyboard mapping and search
for symbol. A lot of trouble just for single symbol.

To summarise - It doesn't matter is symbol is or isn't in ASCII or ISO 8859-1 as
long as it can be produced easily.

Regards

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: Monoid wants a (++) equivalent

2009-07-02 Thread Johan Tibell
On Thu, Jul 2, 2009 at 6:45 PM, Maciej Piechotka uzytkown...@gmail.comwrote:

 I can work with any symbols as long as they are easily typeable. ++ is 3
 easy
 key press. `mappend` is 9. In both cases I don't need to look on keyboard
 as I
 know exactly where they are. However there is no way I can remember where
 U+00A4
 is - probably it is not on all keyboards (reversing  and @ gives me a lot
 of
 problems in UK keyboards. FR keyboards was nightmare just because a few
 keys
 where at different place). In fact I'd need to open keyboard mapping and
 search
 for symbol. A lot of trouble just for single symbol.

 To summarise - It doesn't matter is symbol is or isn't in ASCII or ISO
 8859-1 as
 long as it can be produced easily.


I would like for my font to have a glyph for it as well so my code doesn't
look like tofu.

-- Johan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe