fiveseven

Results 5 comments of fiveseven

SATySFi uses two extensions: `.saty` and `.satyh`. `.saty` is used for a document file itself, and `.satyh` is used for header files.

When deriving the `Debug` trait, the type parameter `T` is required to implement `Debug` as well. However, this requirement is imposed by the derive macro itself, not by the presence...

F# supports both - Return type inference, and - Mutual recursion. The following answers suggest that it is not so simple. https://stackoverflow.com/questions/900585/why-are-functions-in-ocaml-f-not-recursive-by-default/904715#904715 > One possibility is to simply do a...

But what about `&self` and `&mut self`? We can write `&self` as a shorthand for `self: &Self`, but it might be confusing if `&self @ Foo { bar, baz }`...

The phrase "borrow them" made me think of `let (ref x, ref y) = tuple;`, which feels like a different kind of borrowing than what's happening in `&x` patterns. Clarifying...