pyret-lang icon indicating copy to clipboard operation
pyret-lang copied to clipboard

The Pyret language.

Results 172 pyret-lang issues
Sort by recently updated
recently updated
newest added

We should add dictionaries as a built-in datatype. They should support anything with a `_hash` and `_equals` method, which we should supply for the builtins. Mutable built-ins can get a...

enhancement

This PR can be closed if it's not useful to have the discussion here, but I figured it's an easy way to talk about some of the issues/tests that we'd...

Is `then` a keyword or not? It doesn't show up in the docs (all I see is the `.and-then` method of `Option`). Curiously, I'm still allowed to define a function ...

Brave, latest. ``` > some(2/3) ``` produces `0.6` with a blinking bar over `6`. Clicking it once produces `2/3`, next click `0.6` (w/ bar), next click `2/3` _with a bar...

In a fresh CPO, without any imports, `any` is bound but `all` is not. This seems a rather odd choice (bind both or neither?). (`all2` is also not bound.)

The following check-block gives a well-formedness error: ``` check: ... 6 ... is 6 end ``` ![image](https://user-images.githubusercontent.com/918464/99079532-1605e180-258e-11eb-8586-00e6e63dad4d.png) The same error occurs even if the testing expression is not in a...

bug
error-message
paper-cut

Is it possible to add a `thunk` construct? As I'm doing more streams in cs019, it'd be nice to not have to write the alphabet soup that is `{(): …}`...

``` fun in-to-cm(i): in-to-cm(i * 2.54) end in-to-cm(1) ``` hangs the browser (Aw Snap! in Chrome), and the stop button doesn't work. If you change it to ``` fun in-to-cm(i):...

A CS19 student inadvertently fuzz tested the Pyret compiler with a randomly generated string containing the character 𢡊. The appearance of this character, even in a comment, causes CPO to...

bug

The idea behind `Pick` was to have a generic iterator. Sets implement it, so lists should too!