vapourismo
Re:Learn You a Haskell for Great Good
on Wednesday August 22, 2018 @03:23AM (#17816978)
I wouldn't really consider stack to be a great tool. There is Stackage which may be useful but the tool itself falls apart quickly when used to compile more than a single package executable.
That being said, one should have looked at these:
- cabal Nix-style builds
- ghicd for continuous type-checking
- stylish-haskell for light code formatting
- brittany for slightly more invasive code formatting
- hlint for linting
Re:If Haskell is so great, why hasn't it taken over the world? (2017)
on Sunday May 20, 2018 @05:54PM (#17114968)
I don't see how that is a big problem.
Re:If Haskell is so great, why hasn't it taken over the world? (2017)
on Sunday May 20, 2018 @05:53PM (#17114961)
Certainly it isn't the most attractive solution - still it is possible and works well.
When it comes to moving things across FFI barrier, that is also very possible as there are all kinds of types (including stable pointers) in the Foreign.* modules that map onto C types.
Re:If Haskell is so great, why hasn't it taken over the world? (2017)
on Sunday May 20, 2018 @05:46PM (#17114932)
You'd be surprise how much weirder it gets when everything is evaluated eagerly.
Re:If Haskell is so great, why hasn't it taken over the world? (2017)
on Sunday May 20, 2018 @05:40PM (#17114904)
GHC can produce native libraries just like C or Rust.
Re:Why Deutsche Bundesbank had to promise to leave 1200 tons of gold i...
on Sunday April 30, 2017 @09:21AM (#14231379)
How do airplanes work?
Re:Seven years of Go
on Thursday November 10, 2016 @10:44PM (#12927513)
What is your argument?
Re:Seven years of Go
on Thursday November 10, 2016 @10:43PM (#12927507)
So, Go with a more expressive type system is a worse Go?
Re:Germany's Wi-Fi Shortage Set to Ease as Merkel Backs New Bill
on Wednesday September 16, 2015 @02:15PM (#10228623)
https://de.m.wikipedia.org/wiki/Unterlassungserklärung
I think that is what you need.
Re:Show HN: Another C++ Lua Wrapper
on Sunday July 05, 2015 @07:38AM (#9833214)
I've found that most libraries implement the wrapper around C++ functions in the most terrible way. It ranges from userdata types wrapping std::function objects to wrapping the lua_State, which the users have to interact with themselfs.
Luwra uses inlinable functions and templates almost exclusively. That way (best-case scenario), each wrapped field/method/constructor/function implies only one generated lua_CFunction, which invokes the Lua API to retrieve the values and finally call the wrapped function with them. And all that, during compile-time, which in my opinion is the best part about it.
Re:Show HN: Another C++ Lua Wrapper
on Sunday July 05, 2015 @07:24AM (#9833195)
Also variable templates, which are crucial to generating the metatable name for user types.
Re:Show HN: Another C++ Lua Wrapper
on Saturday July 04, 2015 @06:07PM (#9831753)
Hope it works for you - love to hear some additional feedback.
Re:Germany’s great tuition fees U-turn
on Wednesday October 01, 2014 @10:37AM (#8394672)
400€ per year or per semester? Where?
I am at the Institute of Technology in Berlin and I payed 290.37€ this semester, which includes 179.40€ for public transport.
Re:The Best Programming Language (or How to Stop Worrying and Love the...
on Monday March 03, 2014 @10:44AM (#7334314)
May I have fries with that?