Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Oct 10, 2024
1 parent 4269ccb commit 78f7ada
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,18 @@
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/lenient_parse/)

```sh
gleam add lenient_parse@1
gleam add lenient_parse
```
```gleam
import lenient_parse
import gleam/float
import gleam/io
pub fn main() {
// TODO: An example of the project in use
}
```

Further documentation can be found at <https://hexdocs.pm/lenient_parse>.
"1" |> float.parse |> io.debug
// Error(Nil)
## Development

```sh
gleam run # Run the project
gleam test # Run the tests
"1" |> lenient_parse.to_float |> io.debug
// Ok(1.0)
}
```

0 comments on commit 78f7ada

Please sign in to comment.