Skip to content

Bobcat 0.6.0

Latest
Compare
Choose a tag to compare
@ibnc ibnc released this 05 Oct 20:12

Release 0.6.0

  • Builtins are now native lambdas, meaning they are first class expressions and can be used anywhere other expressions can be used.
    • In other words, one may now compose builtins with other expressions.
    • Added $uniqint() builtin.
    • $incr() may now take an option offset (non-negative integer).
  • Changed distribution syntax; distributions may only be used in field declarations. See README for other limitations
  • Removed uniform distribution, as this was a dummy wrapper; Builtins already distribute values uniformly.
  • Remove unique flag in favor of letting the user compose expressions to yield unique values. $uid(), $uniqint(), and $incr() would be particularly useful.
  • Primary key statements (i.e. pk(identifier, builtin_value_generator)) now accept $uniqint as a value generator.