Sha256: 2d47b1e1e056caa1fa3b29b29f7285d3b8356546e440be88d8af1d8c162e429c

Contents?: true

Size: 538 Bytes

Versions: 396

Compression:

Stored size: 538 Bytes

Contents

## Hints

The Sgf module should export a parseSgf module with the following signature:

```haskell
parseSgf :: Text -> Maybe (Tree (Map Text [Text]))
```

You may find it useful to copy the following definitions for SgfTree
and SgfNode:

```haskell
-- | A tree of nodes.
type SgfTree = Tree SgfNode

-- | A node is a property list, each key can only occur once.
-- Keys may have multiple values associated with them.
type SgfNode = Map Text [Text]
```

The parsec library is part of the Haskell Platform. Please use it to
your advantage.

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.0.0.5 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.0.4 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.0.3 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.0.2 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.0.1 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.0.0 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.4.1 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.4.0 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.3.0 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.2.1 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.2.0 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.1.2 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.1.1 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.1.0 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.0.1 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-1.0.0 tracks/haskell/exercises/sgf-parsing/HINTS.md