Haskell

634 readers
1 users here now

founded 2 years ago
MODERATORS
1
2
 
 

I saw this just now on the Haskell discourse. Rust’s linear borrow checker in Haskell.

TL;DR You can now use Rust-style mutable and shared borrows in Linear Haskell, within ST-like linear monad, BO, with pure, type-safe, and leak-freedom support of mutation and concurrency! It comes with flexible feature of multiple aliasing of shared borrows, delimiting lifetime regions, etc!

3
4
1
submitted 2 weeks ago* (last edited 2 weeks ago) by SinTan1729@programming.dev to c/haskell@programming.dev
 
 

Hi, I'm a beginner when it comes to Haskell, but I guess I'm somewhat comfortable with the language itself. I'd love to try building some stuff using it. However, I'm finding it very hard to properly use external libraries/packages.

I'm familiar with Rust's cargo, and go's package management system, and feel very comfortable using them. Are there similar ones for Haskell? Basically, I want them defined per project, and not have to install everything system-wide. I'd like to be able to provide users with simple instructions for replicating the whole build setup.

What's the idiomatic way? Are there any example packages that I can look at that are not too complicated?

5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 
 

(with postgres).

Another question, which database library would you recommend? I've tried beam but goddamn it is complex. Rel8 is a bit simpler, but I was thinking of going for one that just takes SQL queries as strings.

22
23
24
25
view more: next ›