#Using a stdlib function in the shell

1 messages · Page 1 of 1 (latest)

eager plover
#

Hi! How do I use, say, the function first from gleam/string in the shell I get with gleam shell?

lucid hemlock
#

you can do gleam@string:first(...)

eager plover
#

Aha, okay, thank you. I had just gotten there by means of explicitly (re)compiling it from ./build/packages/gleam_stdlib/src/[email protected].