Questions tagged as 'haskell'

1
answer

String Encoding - Haskell

The following code encodes a string of characters, replacing the sequence with! na, where n is the number of times the character a is repeated. Note that it only compresses sequences larger than 3. comprime :: String -> String comprime "" =...
asked by 21.07.2017 / 04:29
0
answers

Heuristic help in haskell

Good afternoon, folks I'm having a problem here to be resolved in haskell, its description is as follows: "The original Cutting Problem is the One-Dimensional Cutting Problem, which consists of cutting a single bar of material into smaller pi...
asked by 22.06.2015 / 20:24