Hi,

I’m currently writing real code with wisp, and while thinking about ways to 
make non-tail-call functions as elegant as tail-called ones, I found a form 
which should work with sweet, too:

let : : origfile ( open-file : nth 1 : command-line ) "r"

Essentially that’s the realization, that brackets are much less visually 
jarring, if they are (a) used sparingly and (b) are used to actually structure 
the code without taking over the code.

The requirement for that it to keep limited non-indetation syntax active inside 
brackets (what wisp currently does not do). Essentially it means providing the 
optimizations for whitespace sensitive syntax also for code in brackets.

For sweet, that could mean

a ( b c \\ d e \\ f g ) h

compare the lisp

(a (b c) (d c) (f g) h)

that way, the brackets become a way to structure the code.

Best wishes,
Arne
-- 
1w6 sie zu achten,
sie alle zu finden,
in Spiele zu leiten
und sacht zu verbinden.
→ http://1w6.org

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to