cfopu 0.1.0 → 1.0.0
raw patch · 3 files changed
+8/−9 lines, 3 files
Files
- Cfopu.hs +6/−6
- LICENSE +1/−1
- cfopu.cabal +1/−2
Cfopu.hs view
@@ -494,9 +494,9 @@ wrap :: forall a. (Integral a) => a -> String -> String wrap w = r' 0 where r' :: (Integral a) => a -> String -> String- r' a [] = ""- r' a ('@':'@':xs) = xs- r' a ('\n':xs) = '\n' : r' 0 xs- r' a (x:xs)- | a >= w = x:'\n' : r' 0 xs- | otherwise = x : (r' (succ a) xs)+ r' a [] = ""+ r' a ('\n':xs) = '\n' : r' 0 xs+ r' a s@(x:xs)+ | not $ isPredefinedSymbol x = '@':'@':s+ | a >= w = x:'\n' : r' 0 xs+ | otherwise = x : (r' (succ a) xs)
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2010, Byron Johnson+Copyright (c) 2010, Byron James Johnson All rights reserved. Redistribution and use in source and binary forms, with or without
cfopu.cabal view
@@ -1,5 +1,5 @@ name: cfopu-version: 0.1.0+version: 1.0.0 cabal-version: >= 1.6 build-type: Simple license: BSD3@@ -7,7 +7,6 @@ copyright: Copyright (C) 2010 Byron James Johnson author: Byron James Johnson maintainer: KrabbyKrap@gmail.com-stability: dev synopsis: cfopu processor category: Compilers/Interpreters description: A cfopu processor that can interpret and process cfopu source