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.6.20 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.19 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.18 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.17 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.16 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.15 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.14 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.13 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.12 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.11 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.10 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.9 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.8 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.7 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.6 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.5 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.4 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.3 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.2 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.6.1 tracks/haskell/exercises/sgf-parsing/HINTS.md