An open API service indexing awesome lists of open source software.

https://github.com/paweljakubas/my-advent-of-code

Solutions to advent of code in Haskell, Rust, Julia and J
https://github.com/paweljakubas/my-advent-of-code

Last synced: 28 days ago
JSON representation

Solutions to advent of code in Haskell, Rust, Julia and J

Awesome Lists containing this project

README

        

### Running Haskell code
```
stack solution.hs "tests"
cat input.txt | stack solution.hs "part1"
cat input.txt | stack solution.hs "part2"
```

### Running J code (after entering jconsole)
```
0!:1 < 'solution.ijs'
```

### Running Rust code
```
// before you run first time: cargo install rust-script
rust-script --test solution.rs
rust-script solution.rs input.txt part1
rust-script solution.rs input.txt part2
```