brunoczim
brunoczim
There should be a way of casting `fn(A) -> B` to `Fn(A) -> B`
I understand the argument against `Unsafe Fn`. But wouldn't this apply to `unsafe fn` pointers too?
What about something like: ```php
A `**` operator for exponentiation would be nice.
I think you could use the `switch` as pattern matching.
I was going to say I would use `AsPrimitive`, but I realised that is too specific on primitives signed/unsigned pairs. So, I propose we add methods to these traits: ```rust...
About Microsoft and Open Source: Embrace, Extend, Extinguish...
I'm sorry for the delay. I am not very used to WASM API, how would one open files or lock files?
It seems like we could have some control over other `LockFile`s, but not on other APIs, such as `std::fs`.
Perhaps we could use `flock`? The problem is that is seems to be non-POSIX. However, `libc` exports it [unconditionally](https://docs.rs/libc/0.2.104/src/libc/unix/mod.rs.html#1025).