tcr / corollary

Cross-compiler from Haskell to Rust, plus parser-haskell.
73 stars 5 forks source link

Convert if ... else ... expressions to Rust equivalent #29

Open tcr opened 7 years ago

tcr commented 7 years ago

(See #17 for a meta-topic)

Since if ... else ... is a common control structure, we should convert it to its Rust equivalent, the if { ... } else { ... } expression.

tcr commented 7 years ago

Also true for when