============
DNA.lhs
> module DNA where
> import Data.List
> type DNA = String
> type RNA = [DNA]
> subseq' a = genericDrop a
> subseq a b = genericTake (b-a) . genericDrop a
> (!!!) :: [a] -> Int -> Maybe a
> dna !!! x = if x >= length dna then Nothing else Just (dna !! x)
1 comment:
You should write some posts about anime! Or maybe how cute I am.
Post a Comment