[erlang-questions] function prime

Goran Bage <>
Tue Jan 23 21:07:41 CET 2007


Why not

func(..)
func_(..)
func__(..)

maybe a little more confusing, but it works now

Logan, Martin wrote:
> I was thinking, well this is the second time, that it would be nice to 
> add the ability to name functions with a ‘ suffix (ala Haskell).  I 
> can’t think of a place where that would be ambiguous… I am sure I could 
> be wrong though.  I have seeing
> 
>  
> 
> func(A, B) -> …
> 
>                         Func2(AA, BB)
> 
>  
> 
> fun2(A, B) ->
> 
>  
> 
> etc
> 
>  
> 
> funcN(A, B) ->
> 
>  
> 
> it would be much nicer to use
> 
>  
> 
>  
> 
> func(A, B) ->
> 
>  
> 
> func’(A, B)
> 
>  
> 
> func’’(A, B)
> 
>  
> 
>  
> 
> Function prime and function double prime is much nicer than function one 
> and function two.  I think so at least – it makes me feel smart and I 
> can pretend to be a real computer scientist.  
> 
>  
> 
> Cheers,
> 
> Martin
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions


-- 
-- Goran
-------------------- May the Snow be with you --------
  Goran Bage
  Byvagen 10,      SE-133 34 Saltsjobaden,       Sweden
  email:,      phone: +46 8 7172907




More information about the erlang-questions mailing list