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

Per the [docs](https://pyret.org/docs/latest/tables.html#%28part._tables_.Row_row_get%29), rows have a `get` method. But they don't. ``` r = [raw-row: {"a"; 1}, {"b"; 2}] check: r.get-value("a") is 1 end ``` But `r.get("a")` produces a missing...

``` include tables r = [raw-row: 1, 2] ``` Internal errors prevented this error message from being shown. Please report this as a bug.

Ahoy, me hearties! In the online Pyret IDE, when you double-click `camelCase` and `underscore_case` variable names, it selects the full name. However, when you double-click `kebab-case` variable names, it will...

When you click to expand on a (mutable) string-dict, it looks like this: However, this presentation doesn't make any sense. This is not an array. The order doesn't matter. And...

All the examples in the docs https://pyret.org/docs/latest/string-dict.html#%28part._string-dict_.String.Dict_string-dict_set%29 only show updates to existing fields, misleading readers into thinking you can't use this to extend a dictionary. A test like this can...

I have a student struggling to figure out why their program is producing `nothing`, a value they've never heard of before. The essence of their program is this: ``` x...

https://pyret.org/docs/latest/Expressions.html#%28part._s~3aconstruct-expr%29 ``` type Constructor = { make0 :: ( -> A), make1 :: (Any -> A), make2 :: (Any, Any -> A), make3 :: (Any, Any, Any -> A), make4...

https://pyret.org/docs/latest/image.html#%28part._image_scene-line%29 > [scene-line](https://pyret.org/docs/latest/image.html#%28part._image_scene-line%29) :: ( img :: [Image](https://pyret.org/docs/latest/image.html#%28part._image_.Image%29), x1 :: [Number](https://pyret.org/docs/latest/_global_.html#%28part._~3cglobal~3e_.Number%29), y1 :: [Number](https://pyret.org/docs/latest/_global_.html#%28part._~3cglobal~3e_.Number%29), x2 :: [Number](https://pyret.org/docs/latest/_global_.html#%28part._~3cglobal~3e_.Number%29), y2 :: [Number](https://pyret.org/docs/latest/_global_.html#%28part._~3cglobal~3e_.Number%29), background :: [Image](https://pyret.org/docs/latest/image.html#%28part._image_.Image%29) ) -> [Image](https://pyret.org/docs/latest/image.html#%28part._image_.Image%29) Draws a line from...

Hello I am a middle school teacher, using Pyret for Data Science. My class is not able to connect Pyret to their Google Drive. All have a Google account through...

The documentation at https://www.pyret.org/docs/latest/image.html uses the same example for importing the typed version of the image libraries as the untyped: ```` * The image module functions ...: include image import...