# Nucleotide Count Given a DNA string, compute how many times each nucleotide occurs in the string. DNA is represented by an alphabet of the following symbols: 'A', 'C', 'G', and 'T'. Each symbol represents a nucleotide, which is a fancy name for the particular molecules that happen to make up a large part of DNA. Shortest intro to biochemistry EVAR: - twigs are to birds nests as - nucleotides are to DNA and RNA as - amino acids are to proteins as - sugar is to starch as - oh crap lipids I'm not going to talk about lipids because they're crazy complex. So back to nucleotides. DNA contains four types of them: adenine (`A`), cytosine (`C`), guanine (`G`), and thymine (`T`). RNA contains a slightly different set of nucleotides, but we don't care about that for now. ## Getting Started For installation and learning resources, refer to the [exercism help page](http://exercism.io/languages/haskell). ## Running the tests To run the test suite, execute the following command: ```bash stack test ``` #### If you get an error message like this... ``` No .cabal file found in directory ``` You are probably running an old stack version and need to upgrade it. #### Otherwise, if you get an error message like this... ``` No compiler found, expected minor version match with... Try running "stack setup" to install the correct GHC... ``` Just do as it says and it will download and install the correct compiler version: ```bash stack setup ``` ## Running *GHCi* If you want to play with your solution in GHCi, just run the command: ```bash stack ghci ``` ## Feedback, Issues, Pull Requests The [exercism/haskell](https://github.com/exercism/haskell) repository on GitHub is the home for all of the Haskell exercises. If you have feedback about an exercise, or want to help implementing a new one, head over there and create an issue. We'll do our best to help you! ## Source The Calculating DNA Nucleotides_problem at Rosalind [http://rosalind.info/problems/dna/](http://rosalind.info/problems/dna/) ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.