weir v0.0.32
·
92 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
prompt— interactive input as a builtin.prompt "msg?"writes
the message to stderr (piped stdout stays data) and reads one line
from stdin; EOF refuses rather than inventing phantom input. And
Self.stdinnow states its law: it is a live stream read ONCE — a
second enumeration used to silently yield empty and now raises,
naming both repairs (bind one enumeration, orpromptper
interaction).
Changed
weir fmtputs district markers on the binding line. Canonical
layout islet x = <<</let p = yaml patch by=name— never the
marker alone on a continuation line. Both spellings still parse and
run identically (district content is relative to its first line, so
the rewrite is lossless);fmtnow merges the next-line spelling up,
outdenting a district-pipe close (|> f) with the marker, and
fmt --checkflags it. A binding line with a trailing comment keeps
the next-line spelling.