Comments (2)
I was looking at the current tests. And I think that they confused by the from_list
semantics.
e.g.
queue.from_list([1, 2, 3])
|> queue.pop_front
|> should.equal(Ok(tuple(1, queue.from_list([2, 3]))))
If from_list
is meant to create a queue with 3
at the front. Then this test is wrong. This problem seems to be all over the test suite for queue.
from stdlib.
Let's do this as part of #147 , thanks
from stdlib.
Related Issues (20)
- random / seeding / shuffle HOT 2
- Library functions string.inspect and io.debug don't escape newlines, carriage returns, tabs, or backslashes. HOT 5
- `string.inspect` should handle erlang chars as `//erl('f')` output. HOT 2
- Make dynamic.element with Lists HOT 1
- when using `regex.scan`, capture groups behave differently based on the target HOT 1
- Unconventional evaluation order for function.compose HOT 6
- iterator.any and iterator.all are not tail-call optimized in javascript HOT 1
- Republish documentation with corrected github URLs HOT 1
- Make string.inspect use a different syntax for non-Gleam atoms HOT 8
- New map will return values that where never added to a map. HOT 1
- Bug: The `list#range` API does not match the documentation HOT 1
- dynamic.optional_field function HOT 3
- list.try_each function HOT 3
- result.try function HOT 1
- 0.28.1 Changelog missing
- `dynamic` documentation error
- how to interact with files or IO devices using the stdlib? HOT 1
- gleam/io.debug fails on javascript target where process.stderr is not defined HOT 1
- Redefinition of type `dynamic` in OTP 26 HOT 1
- Question: Is there a "system call" in Gleam? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stdlib.