всички настройки
trixie  ] [  forky  ] [  sid  ]
[ Източник: haskell-groom  ]

Пакет: libghc-groom-dev (0.1.2.1-2)

Връзки за libghc-groom-dev

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник haskell-groom.

Отговорници:

Външни препратки:

Подобни пакети:

Pretty printing for well-behaved Show instances

Automatically derived Show instances are an easy way to inspect data in your program. However, for large data-structures, the resulting output lacks whitespace, making it unreadable. Groom offers an replacement to `show' called `groom' which attempts to pretty-print the output of `show'. For example:

> let x = parseExp "foobar 1 [1,2]" > in do > putStrLn (show x) > putStrLn (groom x)

results in:

> ParseOk (App (App (Var (UnQual (Ident "foobar"))) (Lit (Int 1))) (List [Lit (Int 1),Lit (Int 2)])) > ParseOk > (App (App (Var (UnQual (Ident "foobar"))) (Lit (Int 1))) > (List [Lit (Int 1), Lit (Int 2)]))

Groom works only on Show instances that output valid Haskell code; if Groom can't understand its input, it will not make any changes.

This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Други пакети, свързани с libghc-groom-dev

  • зависимости
  • препоръчани
  • предложени
  • enhances

Изтегляне на libghc-groom-dev

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
amd64 8,0 кБ53,0 кБ [списък на файловете]
arm64 8,3 кБ102,0 кБ [списък на файловете]
armhf 8,0 кБ45,0 кБ [списък на файловете]
i386 8,6 кБ53,0 кБ [списък на файловете]
ppc64el 8,5 кБ104,0 кБ [списък на файловете]
riscv64 8,6 кБ51,0 кБ [списък на файловете]
s390x 8,3 кБ50,0 кБ [списък на файловете]