Conversation
… as boolean lists
|
Did you want this to be a PR against Matt’s branch? In that case, use the “Edit” button on top and change the target branch. |
matthewhammer
left a comment
There was a problem hiding this comment.
These changes are great! The resulting code is much simpler and cleaner.
Thanks, @crusso!
|
One minor question: Are we trying to merge into |
|
Hmm...perhaps it's time to start having the seeds of a quasi-official collections library in Then, I can start working on the produce exchange example by doing PRs against And, since all of this standard library work (current and future) is mostly independent of making changes to the compiler source, there's little harm in merging into What do other people think? |
|
Oh, my intention was to merge into matt's collection-modules. It was just meant as a proposal. I'll retarget and @matthewhammer can decide what to with it. @matthewhammer, I'm fine with you merging into master. Maybe the libraries should live under a meaningful folder though, like |
|
I am fine having it in master, if all code is actually built by our CI infrastructure, so that it does not rot. |
|
OK, I've moved things, per the slack discussion:
Arguably, the What do people think? Can we merge into |
nomeata
left a comment
There was a problem hiding this comment.
Please make sure it is built from default.nix, in derivation native_test, just like test/ and samples/.
stdlib/Makefile
Outdated
| @@ -0,0 +1,110 @@ | |||
| ASC=../src/asc | |||
| OUTDIR=out | |||
There was a problem hiding this comment.
In the other directories, this is _out (not my convention, but let’s stick to it).
You should add a .gitignore here that ignores that directory.
| @@ -0,0 +1,109 @@ | |||
| /* | |||
There was a problem hiding this comment.
What is the meaning of a nonCriticalPath subdirectory?
There was a problem hiding this comment.
A temporary receptacle for code that I wrote, but that isn't "on the critical path" of what I need to implement the produce exchange.
I'm happy to remove it entirely, if that's preferable. Or, rename this subdirectory to something more suggestive of its role.
ggreif
left a comment
There was a problem hiding this comment.
I'd love this to be tested in CI! Please merge soon.
## Changelog for candid: Branch: master Commits: [dfinity/candid@af281b25...5ab5d320](dfinity/candid@af281b2...5ab5d32) * [`a689de3e`](dfinity/candid@a689de3) fix typescript binding for tuple ([dfinity/candid#219](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity/candid/issues/219)) * [`c9f06ebf`](dfinity/candid@c9f06eb) Rust support for Func and Service ([dfinity/candid#218](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity/candid/issues/218)) * [`5ab5d320`](dfinity/candid@5ab5d32) release ([dfinity/candid#220](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity/candid/issues/220))
## Changelog for candid: Branch: master Commits: [dfinity/candid@af281b25...5ab5d320](dfinity/candid@af281b2...5ab5d32) * [`a689de3e`](dfinity/candid@a689de3) fix typescript binding for tuple ([dfinity/candid#219](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity/candid/issues/219)) * [`c9f06ebf`](dfinity/candid@c9f06eb) Rust support for Func and Service ([dfinity/candid#218](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity/candid/issues/218)) * [`5ab5d320`](dfinity/candid@5ab5d32) release ([dfinity/candid#220](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity/candid/issues/220))
Matt, I've refactored the libraries to just used an immediate module construction. It gets rid of the boilerplate at the end if each library and avoid the Lib__ naming. See if you like it.