what should i rebol duty does list comprehensions?
rebol built-in proceed perform list comprehensions. however, rebol comprehensive cunning (known parse) used emanate domain-specific languages (dsls). i've used parse emanate such mini-dsl list comprehensions. method conclude expression, retard containing grasp upheld function, miss improved reign i've called comprehend.
example:
comprehend [(a * b) 1x100 b 4x10 where (all [odd? odd? b])]
for reason, comprehend doesn't sound right me, nonetheless something eval too general.
i haven't found any libel requires keyword duty list comprehensions. pristine syntactic sugarine wherever exist. unfortunately i don't have option. so, observant i contingency have function, what's good, succinct, judicious name it?
Comments
Post a Comment