Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @bobzhang1988
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @bobzhang1988
-
https://github.com/BuckleScript/bucklescript/pull/4143/commits/4583f2e7f0af190f10b5b571fd0934030c126995 … We did some work to make optional arguments look better in JS output.
@reasonml#bucklescriptHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
You can do one-liner in Bucklescript too, here is an example: ``` install$npx bsc -e 'Js.log (http://Belt.Set.Int .([|1,2,3,3,4,2|]->fromArray->toArray))' | node - [ 1, 2, 3, 4 ] ```
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
we also support json with comments, so you can config vscode as jsonc mode as below: ``` "files.associations": { "bsconfig.json" : "jsonc" } ```
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
A less known but quite useful feature: we support schema validation for bsconfig.json which is well integrated with vscode, see my pic for example in the vscode configuration, it gives you json validation, auto completion for free.
#reasonml#bucklescriptpic.twitter.com/SCa7qXQh5Z
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hongbo Zhang proslijedio/la je Tweet
Ppl are shipping Go & Node apps like no tomorrow, but Haskell apps few and far between. We need to think about OCaml's relative strengths and its positioning–imho it has the potential to move towards the 'Go/Node-like' niche in perception–because it already has their abilities.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
We compile OCaml record to object since version 7 which is really nice, but sometimes you would like to compile record to array for various reasons this is possible due to inline records, see this diff for examplehttps://github.com/BuckleScript/bucklescript/pull/4098/files …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
In next release, we will reuse part of the
@flowtype so that we understand better of `raw` in@reasonml which means even better js interop. (Both projects are written in@OCamlLang )#bucklescriptHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
this is essential since your lib no longer depends on a particular compiler, much easier to build
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
If you depend a particular ppx, you can get rid of such dependencies for your end users, here is an example: ``` bsc -dsource -bs-syntax-only -ppx '`ocamlfind query sedlex`/ppx/ppx.exe --as-ppx' -impl flow_lexer_sedlex.ml &>flow_lexer.ml ```
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Still remember sedlex used to have no dependency (only one dev), now it depends on the whole universe...
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Spending a whole day dealing with dependencies when evaluating a third party lib: less is more, life is short, don't drag in dependencies unless you have to!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Happy New Year@2020 !
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hongbo Zhang proslijedio/la je Tweet
Reflecting these days about HOW MUCH happened this year in the ReasonML/OCaml community. These are some highlights, def missing many events and releases (especially on the OCaml side, as I follow closer Reason & BuckleScript), but feel free to add below in comments. Let's go!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
There is also Sys.backend_type for platform dependent program https://twitter.com/imbskyx/status/1210104009148645376 …
Tweet je nedostupan.Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Note it does not need to be compiled since it is just surface syntax
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
A nice trick to share, it is pretty easy to learn
@reasonml syntax via bucklescript command line tools, see the pic attachedpic.twitter.com/4DcpPmoGli
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hongbo Zhang proslijedio/la je TweetHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Hongbo Zhang proslijedio/la je TweetHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
A difference between BuckleScript and other compilers, we not only want to provide great abstraction but low (zero) cost abstraction, I still remember vividly the quote I read when learning common lisp -- 'Lisp programmers know the value of everything and the cost of nothing.'"
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Working on the last release of BuckleScript in 2019, as a gift for New Year, we will ship zero cost abstraction for high rank polymorphism and existential type encoding(great for JS interop) https://github.com/BuckleScript/bucklescript/pull/4057/files … The compiler improved a lot this year, try
@reasonml in 2020!Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.