Repository navigation
0.37.0
What is new
- New project.
agentica init [NAME]starts a project: it writesagentica.tomland amain.agchello world, and never changes an existing manifest (PKG-MANIFEST-EXISTS). - Channels.
Channel.newwith no capacity makes an unbounded channel: a send to it never waits.Channel.close(channel, error)closes with a reason, which senders (and receivers, once the values left are taken) get in place oferror("channel: closed"). - Files.
File.seek(handle, offset)moves a read handle to a byte offset, to read one part of a large file. - Math.
Math.exp,Math.log,Math.log10,Math.sinandMath.cos, as in Ruby.logandlog10of a negative number stop withRUNTIME-INVALID-NUMBER. - Refs.
Ref.new()returns a token unique in the run that equals only itself. ARefis aMapkey orSetelement, andsortorders Refs by when they were made. - Native modules. Native API 1.5: a function marked
AN_FRESHmakes resources that do not come from its arguments, so aNative.arenathat returns one keeps it alone. - Messages.
CHECK-ARITYlists the arities in ascending order, and the help for "expected Ref, found Ref" tells a module'sReffrom the file's own.
There are no breaking changes.
The archives are not developer-signed or notarized; SHA256SUMS is the only proof of origin.
Full list: CHANGELOG, 0.37.0.