James Campos
James Campos
``` crystal Gdk::WindowAttr.new( event_mask: Gdk::EventMask::ZERO_NONE ) ``` ``` no overload matches 'Gdk::WindowAttr.new', event_mask: LibGdk::EventMask Overloads are: - Gdk::WindowAttr.new(title : String | Nil = nil, event_mask : Int32 | Nil =...
`f 10(a, b)` -> `f 10*a, 10*b`
request `a{ b.c }` -> `{ c: a.b.c }`, instead of `{ c: a[b.c] }` ``` $ coco -bce '{ a.b.c }' Error: Parse error on line 1: Unexpected 'DOT'...
https://github.com/satyr/coco/wiki/additions#assignment-defaults-o-----a--b--c > For parameters, = can be used in place of ?. i would like to use `=` for destructuring as well
``` $ coco -bce 'a = * b' Error: Parse error on line 1: Unexpected ',' ```
eg `{a} = b~` -> `a = b~a`
sugar for `a = b?a or c`, `{a or c} = b or {}`
eg `f a ^^ b` -> `f(a)(b)`. i'm not method chaining currently, i have to write `f(a) b`, `(f a) b`
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda my terminal (alacritty) supports this now
``` Compiling rayon v0.8.2 error: failed to run custom build command for `servo-freetype-sys v4.0.3` process didn't exit successfully: `/home/james/src/limn/target/debug/build/servo-freetype-sys-d8d8b311fef1a5ad/build-script-build` (exit code: 101) --- stdout running: "cmake" "/home/james/.cargo/registry/src/github.com-1ecc6299db9ec823/servo-freetype-sys-4.0.3/freetype2" "-DWITH_BZip2=OFF" "-DWITH_HarfBuzz=OFF" "-DWITH_PNG=OFF"...