https://github.com/toyboot4e/abs-hs
Atcoder begginers selection in Haskell
https://github.com/toyboot4e/abs-hs
Last synced: over 1 year ago
JSON representation
Atcoder begginers selection in Haskell
- Host: GitHub
- URL: https://github.com/toyboot4e/abs-hs
- Owner: toyboot4e
- License: mit
- Created: 2022-06-07T12:47:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-11T01:43:45.000Z (about 4 years ago)
- Last Synced: 2025-03-15T23:28:32.928Z (over 1 year ago)
- Language: Haskell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= (WIP) {abs} in Haskell
:abs: https://atcoder.jp/contests/abs[AtCoder Beginners Selection]
:ghcup: https://www.haskell.org/ghcup/[ghcup]
\..by a beginner. I'm pretty sure the code is inefficient.
== Installation
Use {ghcup} to get `ghc` + `stack` + `hls`!
== File structure
```sh
.
├── Setup.hs
├── abs.cabal # Automatically generated on `stack build`
├── app # Answer scripts
│ ├── P01.hs # Answer script for the first problem
│ ├── P01-input # Input for `P01.hs`
│ └── ..
├── package.yaml # Declares executable files
├── stack.yaml # Declares external dependencies
├── stack.yaml.lock # Specifies package versions in use
└── x
```
== Running
Run `cat app/P01-input | (stack build && stack exec P01-exe)` with the helper script:
[source,haskell]
----
$ ./x P01
----