~subsetpark

http://zdsmith.com

Trackers

~subsetpark/fugue

Last active 13 days ago

~subsetpark/doozer

Last active 2 months ago

~subsetpark/bagatto

Last active 6 months ago

~subsetpark/ec

Last active 7 months ago

~subsetpark/tamerlane

Last active 1 year, 18 days ago

~subsetpark/sl

Last active 1 year, 3 months ago

#15 What should happen when you call `:new` on a child instance? 13 days ago

Ticket created by ~subsetpark on ~subsetpark/fugue

Right now it crashes:

repl:4:> (def a-tab (new-Tab))
@Tab{:_meta @{:object-type :instance}}
repl:5:> (:new a-tab)
error: expected iterable type, got nil
  in new-from-Tab [repl] on line 3, column 1
  in _thunk [repl] (tailcall) on line 5, column 1

#3 Automatic array interpolation? 2 months ago

Ticket created by ~subsetpark on ~subsetpark/doozer

Sqlite doesn't support arrays as parameters, but you can construct one by iterating the param in wrapping in ().

How would we best support that? Some kind of backend-implemented hook on arbitrary operators?

#2 Performance optimizations 2 months ago

Ticket created by ~subsetpark on ~subsetpark/doozer

In reply to andrewchambers (andrewchambers)
 a nice feature might be automatically precompiling a query if it is possible to do so Yeah, one thing that might be interesting is, detect if the compose-query call is happening at compile time - and if so, automatically cache the output of to-sql onto the query itself.

You could further take advantage of that by saying, ‘ok, we’ve got this pregenerated query - you can change any of the literal values in the query and we won’t regenerate it; we’ll just replace the parameter’

#1 maybe: `(:foo bar)` as alias to `(. foo bar)` 2 months ago

Ticket created by ~subsetpark on ~subsetpark/doozer

#14 match doesn't work with prefixed symbols 2 months ago

on ~subsetpark/fugue

REPORTED RESOLVED FIXED

#14 match doesn't work with prefixed symbols 2 months ago

bug added by ~subsetpark on ~subsetpark/fugue

#14 match doesn't work with prefixed symbols 2 months ago

Ticket created by ~subsetpark on ~subsetpark/fugue

repl:11:> (macex1 '(match token
repl:12:((>       (@ parser/Special {:value char}) (handle-special s char)
repl:13:((>       _ (eval/eval-and-push s token)))
(as-macro <function match> token {:_name "parser/Special" :value char} (handle-special s char) _ (eval/eval-and-push s token))

We are taking the name directly and using that in the pattern match. Instead, we should try to eval the symbol, get the name off of the actual table, and use that.

#9 Allow creation of prototypes inheriting from raw tables? 3 months ago

Comment by ~subsetpark on ~subsetpark/fugue

defproto call succeeds;

repl:7:> (:new Foo)
error: expected iterable type, got nil
  in new-from-Foo [repl] on line 3, column 1
  in _thunk [repl] (tailcall) on line 7, column 1

creation fails

#12 Don’t rely on prototype relations inside of meta 3 months ago

Comment by ~subsetpark on ~subsetpark/fugue

The only setproto calls are now when creating a new proto, or creating an instance.

REPORTED RESOLVED FIXED

#11 Enable nested with-slots 3 months ago

Comment by ~subsetpark on ~subsetpark/fugue

Fixed with with-slots-as

REPORTED RESOLVED FIXED