Skip to content

object slice #77

satyr opened this Issue Aug 8, 2011 · 0 comments

1 participant

satyr commented Aug 8, 2011

o.{a:b, c}{a: o.b, c: o.c}

This will:

  • enable partial copy/import, e.g. import Array::{push, forEach}.
  • mirror array slice (a[x, y][a[x], a[y]]) and object subdestructuring (p{a:b, c} = q{a: p.b, c: p.c} = q), improving semantic consistency.

For applying ADI (o{a}; o?{b}o.{a}; o?.{b}), the clone syntax (p = Point{x: 7, y: 8}) needs to change; probably to unary ^ (p = ^Point <<< x: 7, y: 8).

@satyr satyr closed this in 8248a0f Aug 10, 2011
@josher19 josher19 pushed a commit to josher19/LiveScript that referenced this issue Jul 24, 2012
@gkz gkz big merge with coco. also readded mode-ls for ace - closes #77, closes
…#86, getting there on #42 but needs more work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.