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

Пакет: haskell-groom-utils (0.1.2.1-2)

Връзки за haskell-groom-utils

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.

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

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

Изтегляне на haskell-groom-utils

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
amd64 1 782,4 кБ14 476,0 кБ [списък на файловете]
arm64 1 781,9 кБ15 981,0 кБ [списък на файловете]
armhf 2 226,9 кБ15 814,0 кБ [списък на файловете]
i386 2 619,5 кБ21 782,0 кБ [списък на файловете]
ppc64el 1 752,8 кБ21 596,0 кБ [списък на файловете]
riscv64 2 285,0 кБ17 564,0 кБ [списък на файловете]
s390x 3 414,8 кБ29 362,0 кБ [списък на файловете]