How about this slight variation of Kevin's first suggestion?

open("file.txt","wa") use (f) -> write(f,"hello")

It's very clear that an anonymous function is being defined, and there is a 
reminder that this function is being used as the first argument of the 
preceding function.




On Monday, April 28, 2014 2:11:08 PM UTC-7, Ivar Nesje wrote:
>
> How about dropping do and just use function.
>
> open("file.txt","wa") function(f)
>     write(f,"hello")
> end
>
> Hmm.. It doesn't look as pretty as I imagined it before writing it out.
>
>

Reply via email to