Tip replacing <- with : for static values

This commit is contained in:
Agustin Zubiaga 2023-05-09 23:37:24 -03:00
parent 088193c93b
commit 71a2990e21
7 changed files with 51 additions and 3 deletions

View file

@ -88,6 +88,10 @@ pub enum CalledVia {
/// This call is the result of desugaring string interpolation,
/// e.g. "\(first) \(last)" is transformed into Str.concat (Str.concat first " ") last.
StringInterpolation,
/// This call is the result of desugaring a Record Builder field.
/// e.g. succeed { a <- get "a" } is transformed into (get "a") (succeed \a -> { a })
RecordBuilder,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq)]