Re:The Path to Rust
by T-R on Thursday May 26, 2016 @03:45AM
(#11776307)
> a closure works fine, so `|fname| to_buff_reader(check_err(open_file(fname)))` would work
Ah, yes it would. Clearly I'm a bit too tired to be writing code, if I've overlooked function application. I suppose it doesn't have to be point-free. =)
Ah, yes it would. Clearly I'm a bit too tired to be writing code, if I've overlooked function application. I suppose it doesn't have to be point-free. =)
Pretty cool, though - thanks for the info.