pyret-lang
pyret-lang copied to clipboard
The Pyret language.
https://pyret.org/docs/latest/tables.html#%28part._.Ordering_.Tables%29 > This example will first sort the data in increasing order on column1. If there are any duplicate values in column1, each such group of rows will be sorted...
If I write ``` S = 2 S = 3 ``` I get a name binding conflict error. However, if I write ``` import sets as S S = 2...
After running a program with a runtime error, interactions repl does not know about certain symbols
It appears that some context gets lost if there's an error in the running of the user's program, such that the interactions window doesn't have some bindings anymore. The screenshot...
Hello, We are running into a new issue regarding school cybersecurity restrictions and Pyret. Our school does not allow students to share docs with "anyone with the link." Instead, we...
``` fun insert(e :: T, l :: List) -> List: cases (List) l: | empty => [list: e] | link(f, r) => if e < f: link(e, l) else: link(f,...
We should link to the docs pages for various curricular stuff, like relevant parts of DCIC or Bootstrap resources. See, for example, https://groups.google.com/g/pyret-discuss/c/owd5rJnEKrQ/m/xnza9AI-BQAJ?utm_medium=email&utm_source=footer&pli=1, where someone couldn't find the relevant iteration...
Both of these programs (with `rec` or `letrec`) cause an internal error.   ``` rec n :: Number%(is-zero) = 10 rec is-zero = lam(x): x == 0 end letrec...
Bootstrap:DS switched from method syntax to function syntax, and we're already seeing huge gains from teachers. Coupled with the Circles of Evaluation, they are _immediately_ more comfortable composing operations. One...
To get the Makefile to work with my Mac, I looked at the output of the commands using realpath on my linux machine and translated them to what worked on...
Shriram and I noticed a funny thing about tables the other day! If you try to create a table with an empty schema using `table: end`, you get the message...