Does gleam let me destructure a list so that I can bind the head and body each to a variable?
e.g. in f#
let splitHeadAndTail = function
| h :: [] -> printfn "got head and EMPTY tail"
| h :: t -> printfn "got head and tail"
| [] -> printfn "got empty list"
The example in their docs does a 1:1 map and doesn't show if you can bind the whole tail[1]
It'd be kind of silly to create a greenfield BEAM language that doesn't expose one of the most fundamental operations you can do in BEAM bytecode, and that every list-processing function ultimately relies upon :)
> It'd be kind of silly to have a BEAM language that doesn't expose one of the most primitive operations you can do in the BEAM, that every list-processing function ultimately relies upon :)
Agree, which is why i was confused it wasn't in the tour I linked to in the Lists or Destructuring sections
Why not just use Haskell? You don't get OTP/Beam, but the GHC runtime provides almost all the same functionality (plus a lot more), to the point where the Cloud Haskell library is basically a full clone of Erlang's actor functionality.
Is their success rate zero? I don't think so. People want to work at FAANG so much they can afford to raise the hiring bar to hire someone with intermediate/senior knowledge on junior level.
I use huawei p20 lite 2019 and the signal app is not as smooth and fluid as whatsapp. The animations frames are noticeable. I really want to love the app. I hope they improve the android experience for lower end smart phones
I classify workaholics into three categories, first is too much pride, second is "my colleagues are my friends" and there isn't much to do at home anyways, third is someone really needs the job and money