Phil Ruffwind

Results 55 comments of Phil Ruffwind

`renameFile` is atomic on Unix-like systems and by design it will never work across file systems. On Windows the situation is less clear (https://github.com/haskell/directory/issues/109) but that doesn't mean we should...

I don't see a way to work around this quirk of `SearchPathW` without breaking existing use cases. I think the caller will just have to intentionally add the `.exe` suffix...

It'd be more useful if it could be used for both closures and functions and for all possible arities, e.g.: ~~~rust fn foo(match) { (Some(n)) => n, (None) => 0,...

I think for private functions inferring return types is probably fine. For public functions I agree that having explicit signatures is important for documenting the API contract.

FWIW this does affect Arch Linux now, because the default packages don't come with static libs anymore.