On 18/08/2012, at 12:56 AM, Dobes Vandermeer wrote:

> On Fri, Aug 17, 2012 at 4:32 AM, john skaller <skal...@users.sourceforge.net> 
> wrote:
> Functions in Felix may not have side effects, but they're not
> referentially transparent because they can still depend on
> variables in their context.
> 
> I'd like to split them up into pure functions and the other kind.
> 
>         fun ... pure
>         method .. may depend on variables
> 
> Neither can modify their environment.
> 
> Are you saying that "method" would be the keyword for a non-pure function?

Yeah. I considered "accessor" as well. Any other ideas?

3-4 characters is ideal  but "meth" and "acc" don't feel enough.

There are other alternatives.

val f (x:int) = ...

for example.

Dunno. Confused. 

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to