Bowen Fu

Results 20 comments of Bowen Fu

Implement throw_, throwIO, and onException io what = io `catch` \e -> do _

data Async a = Async (MVar (Either SomeException a)) -- async :: IO a -> IO (Async a) async action = do var IO a -- wait a = do...

bracket :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c bracket before after during = do a IO a finally io after =...

waitEither :: Async a -> Async b -> IO (Either a b) waitEither a b = do m

waitAny :: [Async a] -> IO a waitAny as = do m

Either has been implemented now.

Looks like it is not easy for the polynomial-quotient-remainder approach to handle all the cases. we can have cos(x), but also cos(pi*x) cos(sqrt(x), so we cannot know what X and...

Refer to https://github.com/BowenFu/matchit.cpp/blob/a6c34895db9e2c0b01a98c04664c637d5683b176/test/matchit/id.cpp for some samples. Need to update REFERENCE.md and From-Rust-to-matchit.md.

@sanblch Thanks for adding this! Will update the installation part after the PR gets committed.

@sanblch @e-dant Thank you both for supporting this project. @sanblch should we close this issue since the task is done?