That said, the other big difference with Haskell is the low-level API actually provides functionality to solve the exact problem of an async exception being raised anywhere via `mask`. It's still hard to use correctly but at least it's possible.
48 karma · joined December 14, 2016
That said, the other big difference with Haskell is the low-level API actually provides functionality to solve the exact problem of an async exception being raised anywhere via `mask`. It's still hard to use correctly but at least it's possible.
There's only one industrial Haskell codebase I've worked on, and although parts of it were very procedural, that was probably less than half the codebase, even including the IO-bound code. Sure it's one way to use the language, but it's certainly not the only one.
The vast majority of systems people build do not have hard real-time requirements. People have built video games, real-time audio, and all sorts of other soft-real-time systems with Haskell
I agree that this is not as precisely stated as it could be. And unfortunately there's a type of logic puzzle that relies on people understanding these implicit quantifiers and being prepared to ignore them, which sometimes makes it hard to determine if they're supposed to be assumed present or not. But the most common interpretation is to include it.
I disagree that profitable businesses can continue no matter the capital structure. You're assuming that there's a liquid market for businesses, or parts of them. For a huge retailer that's almost certainly not true. Additionally, the current owners have to actually want the business to continue. I would believe there's more value to a short-term owner in liquidating assets than accruing profits over a relatively short timeframe.
1. A PE firm uses a combination of other people's money (limited partners a.k.a investors) and debt to buy a company.
2. The PE transfers the debt to the company's books. This way, if the company goes bankrupt the PE fund isn't liable for that debt.
3. The PE firm charges millions of dollars in fees for providing management services. This way the PE firm makes money regardless what happens to the business.
Toys R Us was profitable before it was bought and saddled with debt that was essentially used to purchase it's own business.
Disclaimer: I work for Google and have some involvement with AMP.
I hate to admit it, but May and Davis should absolutely refuse to play ball. They should agree to terms they think are fair here, and if the E.U. doesn't go along, prepare for a really hard brexit. Which of course means that they'll capitulate.
As for why it's not a side effect, in Haskell all exceptions are considered to be bottom, the value that inhabits every type. Thus an exception can be raised anywhere and have any type. They can only be handled in IO though.