wiki:TupleSections

Version 1 (modified by john@…, 8 years ago) (diff)

--

Tuple Sections Proposal

allow tuple sections

(1,,3) becomes \a -> (1,a,3)

Pro

very oftenly requested. would save a lot of little cryptically named utility functions. higher order routines to fill in tuple values are quite common

Con

nested tuple sections can be a little unintuitive

((1,),) becomes \a -> (\b -> (1,b),a)

rather than \a b -> ((1,a),b) as some might expect.