Louis Pilfold
Louis Pilfold
I was thinking the compiler could have a set of derivable _things_ (values?) such as an inlined file, templates, etc. Seems fairly understandable and extendable (though not extendable by users)....
That's a great point! A noun would fit better. FileContents ?
Could you give some examples? I don't understand the suggestion
I see we have been thinking similar things! I've been interested in compile time code generation from external resources for some time. > Some things I might want to derive:...
A hackney wrapper would be great! I could see that being a `gleam-lang` official project as it's so useful. I think the HTTP library is already composable enough for most...
I'm not a fan of the unqualified style and would not like to encourage its use. In the example you've given it does not seem like it would be unergonomic...
In my code I've been importing the ones I use and that's been fine, there's only really 4 in a REST app.
I think this would be best as a library rather than in the stdlib. Particularly because it will be platform dependent. I think the ideal in the short term would...
Thanks for this write up, there's some really good information here and I've a lot to think about. Do you envision that when a contract is violated that it returns...
I found some very old Rust code, seems like they used to have preconditions: https://github.com/rust-lang/rust/blob/16e4369fe3b5f00aa3cdc584a4e41c51c0d3ca8a/src/libstd/list.rs#L131