SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-ersatz rpm build for : OpenSuSE. For other distributions click ghc-ersatz.

Name : ghc-ersatz
Version : 0.4 Vendor : openSUSE
Release : bp150.2.8 Date : 2018-07-30 21:26:27
Group : Development/Languages/Other Source RPM : ghc-ersatz-0.4-bp150.2.8.src.rpm
Size : 17.76 MB
Packager : https://bugs_opensuse_org
Summary : A monad for expressing SAT or QSAT problems using observable sharing
Description :
A monad for expressing SAT or QSAT problems using observable sharing.

For example, we can express a full-adder with:

> full_adder :: Bit -> Bit -> Bit -> (Bit, Bit) > full_adder a b cin = (s2, c1
|| c2) > where (s1,c1) = half_adder a b > (s2,c2) = half_adder s1 cin

> half_adder :: Bit -> Bit -> (Bit, Bit) > half_adder a b = (a `xor` b, a && b)

/Longer Examples/

Included are a couple of examples included with the distribution.
Neither are as fast as a dedicated solver for their respective domains, but
they showcase how you can solve real world problems involving 10s or 100s of
thousands of variables and constraints with `ersatz`.

\'ersatz-sudoku\'

> % time ersatz-sudoku > Problem: > ┌───────┬───────┬───────┐ > │ 5 3 │ 7 │ │ >
│ 6 │ 1 9 5 │ │ > │ 9 8 │ │ 6 │ > ├───────┼───────┼───────┤ > │ 8 │ 6 │ 3 │ > │
4 │ 8 3 │ 1 │ > │ 7 │ 2 │ 6 │ > ├───────┼───────┼───────┤ > │ 6 │ │ 2 8 │ > │ │
4 1 9 │ 5 │ > │ │ 8 │ 7 9 │ > └───────┴───────┴───────┘ > Solution: >
┌───────┬───────┬───────┐ > │ 5 3 4 │ 6 7 8 │ 9 1 2 │ > │ 6 7 2 │ 1 9 5 │ 3 4 8
│ > │ 1 9 8 │ 3 4 2 │ 5 6 7 │ > ├───────┼───────┼───────┤ > │ 8 5 9 │ 7 6 1 │ 4
2 3 │ > │ 4 2 6 │ 8 5 3 │ 7 9 1 │ > │ 7 1 3 │ 9 2 4 │ 8 5 6 │ >
├───────┼───────┼───────┤ > │ 9 6 1 │ 5 3 7 │ 2 8 4 │ > │ 2 8 7 │ 4 1 9 │ 6 3 5
│ > │ 3 4 5 │ 2 8 6 │ 1 7 9 │ > └───────┴───────┴───────┘ > ersatz-sudoku 1,13s
user 0,04s system 99% cpu 1,179 total

\'ersatz-regexp-grid\'

This solves the \"regular crossword puzzle\"
(< https://github.com/ekmett/ersatz/raw/master/notes/grid.pdf grid.pdf>) from
the 2013 MIT mystery hunt.

> % time ersatz-regexp-grid

\"SPOILER\"

> ersatz-regexp-grid 2,45s user 0,05s system 99% cpu 2,502 total.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15/standard/x86_64

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  ghc-ersatz-0.4-bp150.2.8.x86_64.rpm
     

Provides :
ghc-ersatz
ghc-ersatz(x86-64)
libHSersatz-0.4-Cns5wohkWT3Jqg7jF1lbWM-ghc8.0.2.so()(64bit)

Requires :
libHSStateVar-1.1.0.4-5dJbnTVECtEAhfJXPZKdbO-ghc8.0.2.so()(64bit)
libHSadjunctions-4.3-6nMo9ca9E95L1lsN6Br4XL-ghc8.0.2.so()(64bit)
libHSarray-0.5.1.1-ghc8.0.2.so()(64bit)
libHSattoparsec-0.13.1.0-FfnvSlEhYl6E00jFTwLP4F-ghc8.0.2.so()(64bit)
libHSbase-4.9.1.0-ghc8.0.2.so()(64bit)
libHSbase-orphans-0.6-AbJ3lKVXygDCG0eeQEv8Iu-ghc8.0.2.so()(64bit)
libHSbifunctors-5.4.2-5j5AtkN8t5O1W8mEe1pi0q-ghc8.0.2.so()(64bit)
libHSbinary-0.8.3.0-ghc8.0.2.so()(64bit)
libHSbytestring-0.10.8.1-ghc8.0.2.so()(64bit)
libHScomonad-5.0.1-2dOTQljdUSmGwatNHkYwW3-ghc8.0.2.so()(64bit)
libHScontainers-0.5.7.1-ghc8.0.2.so()(64bit)
libHScontravariant-1.4-29zF0Im431177ovfbHYCGv-ghc8.0.2.so()(64bit)
libHSdata-default-0.7.1.1-Atv1ZD6t1rI1MrH9qSGaQC-ghc8.0.2.so()(64bit)
libHSdata-default-class-0.1.2.0-GsXqKN6o1X9jr0fF5qCVD-ghc8.0.2.so()(64bit)
libHSdata-default-instances-containers-0.0.1-bob6IQGdJq92c061H46zK-ghc8.0.2.so()(64bit)
libHSdata-default-instances-dlist-0.0.1-LBT1sjxIvyd63eC0aI9yNO-ghc8.0.2.so()(64bit)
libHSdata-default-instances-old-locale-0.0.1-9zaGDEmgOixKkmLylWdN5l-ghc8.0.2.so()(64bit)
libHSdeepseq-1.4.2.0-ghc8.0.2.so()(64bit)
libHSdirectory-1.3.0.0-ghc8.0.2.so()(64bit)
libHSdistributive-0.5.2-KlkgfUmuqy3Z181VSjKfJ-ghc8.0.2.so()(64bit)
libHSdlist-0.8.0.3-BHFBNaw8k6n9WiaUNzoXpk-ghc8.0.2.so()(64bit)
libHSexceptions-0.8.3-ADEDRATtUrMK1JW4zMQ9U-ghc8.0.2.so()(64bit)
libHSfilepath-1.4.1.1-ghc8.0.2.so()(64bit)
libHSfree-4.12.4-JUYfwQOGje1F6ljlwhsQfP-ghc8.0.2.so()(64bit)
libHSghc-boot-th-8.0.2-ghc8.0.2.so()(64bit)
libHSghc-prim-0.5.0.0-ghc8.0.2.so()(64bit)
libHShashable-1.2.6.1-ArdkmQrtdsLPQA60ZQw2E-ghc8.0.2.so()(64bit)
libHSinteger-gmp-1.0.0.1-ghc8.0.2.so()(64bit)
libHSinteger-logarithms-1.0.2-92lMiWV9mmYAwfMEYgfQ0D-ghc8.0.2.so()(64bit)
libHSkan-extensions-5.0.2-5SVDrYVManyKLFvHkx6yaS-ghc8.0.2.so()(64bit)
libHSlens-4.15.3-IGFVrQg5So2F2MYU1b2Bm6-ghc8.0.2.so()(64bit)
libHSmtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6-ghc8.0.2.so()(64bit)
libHSold-locale-1.0.0.7-KGBP1BSKxH5GCm0LnZP04j-ghc8.0.2.so()(64bit)
libHSparallel-3.2.1.1-KQJHWCcq2Ka569Stb10nhx-ghc8.0.2.so()(64bit)
libHSprelude-extras-0.4.0.3-BhL9U5k7NtGJn1itwIHt2Y-ghc8.0.2.so()(64bit)
libHSpretty-1.1.3.3-ghc8.0.2.so()(64bit)
libHSprimitive-0.6.2.0-4578caNkWQ54Gt1mxLF2Yh-ghc8.0.2.so()(64bit)
libHSprocess-1.4.3.0-ghc8.0.2.so()(64bit)
libHSprofunctors-5.2-7ONvCmXw8M9Co9mYrudYx-ghc8.0.2.so()(64bit)
libHSreflection-2.1.2-Bem12O1xFGSHr4C2Hyu1c4-ghc8.0.2.so()(64bit)
libHSscientific-0.3.5.1-29PQkFlSg2MLG0o5mYHr65-ghc8.0.2.so()(64bit)
libHSsemigroupoids-5.2-8RI6HtO1LKLE496qmzB9Po-ghc8.0.2.so()(64bit)
libHSsemigroups-0.18.3-5xL9BgkWQsCGwo6YahyMCM-ghc8.0.2.so()(64bit)
libHSstm-2.4.4.1-JQn4hNPyYjP5m9AcbI88Ve-ghc8.0.2.so()(64bit)
libHStagged-0.8.5-1mTloBSoUxv8dqUr8XBGBt-ghc8.0.2.so()(64bit)
libHStemplate-haskell-2.11.1.0-ghc8.0.2.so()(64bit)
libHStemporary-1.2.1-74wXvKX6cPmH7eOQxlSWZQ-ghc8.0.2.so()(64bit)
libHStext-1.2.2.2-1cn50juu89QSL9QkUVcRY-ghc8.0.2.so()(64bit)
libHSth-abstraction-0.2.3.0-IC8R8TEnxiaENlxvcI4gyL-ghc8.0.2.so()(64bit)
libHStime-1.6.0.1-ghc8.0.2.so()(64bit)
libHStransformers-0.5.2.0-ghc8.0.2.so()(64bit)
libHStransformers-compat-0.5.1.4-IuFogs8HAVUJBWVNMhtssu-ghc8.0.2.so()(64bit)
libHSunix-2.7.2.1-ghc8.0.2.so()(64bit)
libHSunordered-containers-0.2.8.0-EsriWmISHwMG6fvrGnOReO-ghc8.0.2.so()(64bit)
libHSvector-0.12.0.1-692PQMDMB6pIQ1uGwefDcQ-ghc8.0.2.so()(64bit)
libHSvoid-0.7.2-4PWwLjXxAER9U3zGpDhf6e-ghc8.0.2.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.2)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libffi.so.7()(64bit)
libffi.so.7(LIBFFI_BASE_7.0)(64bit)
libffi.so.7(LIBFFI_CLOSURE_7.0)(64bit)
libgmp.so.10()(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
librt.so.1()(64bit)
librt.so.1(GLIBC_2.2.5)(64bit)
librt.so.1(GLIBC_2.3.3)(64bit)
libutil.so.1()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/bin/ersatz-regexp-grid
/usr/bin/ersatz-sudoku
/usr/lib64/ghc-8.0.2/ersatz-0.4-Cns5wohkWT3Jqg7jF1lbWM
/usr/lib64/ghc-8.0.2/ersatz-0.4-Cns5wohkWT3Jqg7jF1lbWM/libHSersatz-0.4-Cns5wohkWT3Jqg7jF1lbWM-ghc8.0.2.so
/usr/share/doc/packages/ghc-ersatz
/usr/share/doc/packages/ghc-ersatz/LICENSE
/usr/share/ersatz-0.4
/usr/share/ersatz-0.4/data
/usr/share/ersatz-0.4/data/dimacs
/usr/share/ersatz-0.4/data/dimacs/bf
/usr/share/ersatz-0.4/data/dimacs/bf/bf0432-007.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/bf1355-075.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/bf1355-638.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/bf2670-001.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/descr.html
/usr/share/ersatz-0.4/data/dimacs/bf/ssa0432-003.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/ssa2670-130.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/ssa2670-141.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/ssa6288-047.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/ssa7552-038.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/ssa7552-158.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/ssa7552-159.cnf
/usr/share/ersatz-0.4/data/dimacs/bf/ssa7552-160.cnf
/usr/share/ersatz-0.4/data/dimacs/blocksworld
/usr/share/ersatz-0.4/data/dimacs/blocksworld/anomaly.cnf
/usr/share/ersatz-0.4/data/dimacs/blocksworld/bw_large.a.cnf
/usr/share/ersatz-0.4/data/dimacs/blocksworld/bw_large.b.cnf
/usr/share/ersatz-0.4/data/dimacs/blocksworld/bw_large.c.cnf
/usr/share/ersatz-0.4/data/dimacs/blocksworld/descr.html
/usr/share/ersatz-0.4/data/dimacs/blocksworld/huge.cnf
There is 41 files more in these RPM.

 
ICM