Package maintainers and Hackage trustees are allowed to edit certain bits
of package metadata after a release, without uploading a new tarball.
Note that the tarball itself is never changed, just the metadata that is
stored separately. For more information about metadata revisions, please
refer to the
Hackage Metadata Revisions FAQ.
No. |
Time |
User |
SHA256 |
-r3 (context-free-art-0.2.0.1-r3) |
2019-10-22T09:05:55Z |
414owen |
0b66b67ad8392786a2585e218ba340d3833738b99929a34c75244c81ef497fcb
|
|
Changed description
from
Create art via context free grammar production rules.
== Context free grammar primer
Context free grammars consist of a set of terminal symbols, a set of
non-terminal symbols, and production rules that map non-terminals to
other symbols.
With a context-free grammar, we can generate strings of terminals that
conform to the specified language.
Our language will describe graphics.
== Example
> import Art.ContextFree
> import Data.List.NonEmpty
>
> -- Let's define a Production rule
> a = Circle 1
>
> -- This will produce an IO Svg from the blaze-svg package
> -- to turn it into a string we can use one of the `blaze-svg` renderers
> graphic1 = interpret $ Circle 1
>
> -- let's create a non-terminal, 'a', which renders a terminal, 'Circle 1'
> -- and has an 85% chance of rendering another circle, placed to its right
> a = NonTerminal $ (100, Circle 1) :| [(85, b)]
> b = Mod [Move (2, 0)] a
to
Create art via context free grammar production rules.
== Context free grammar primer
Context free grammars consist of a set of terminal symbols, a set of
non-terminal symbols, and production rules that map non-terminals to
other symbols.
With a context-free grammar, we can generate strings of terminals that
conform to the specified language.
Our language will describe graphics.
== Example
> import Art.ContextFree
> import Data.List.NonEmpty
>
> -- Let's define a Production rule
> a = Circle 1
>
> -- This will produce an IO Svg from the blaze-svg package
> -- to turn it into a string we can use one of the `blaze-svg` renderers
> graphic1 = interpret $ Circle 1
>
> -- let's create a non-terminal, 'a', which renders a terminal, 'Circle 1'
> -- and has an 85% chance of rendering itself, placed to its right
> a = NonTerminal $ (100, Circle 1) :| [(85, b)]
> b = Mod [Move (2, 0)] a
|
-r2 (context-free-art-0.2.0.1-r2) |
2019-10-21T22:47:11Z |
414owen |
74bee1820c3611faa5335d9139eea4fbe6e4626708885568eb7997d60f71ea91
|
|
Changed description
from
Create art via context free grammar production rules.
== Context free grammar primer
Context free grammars consist of a set of terminal symbols, a set of
non-terminal symbols, and production rules that map non-terminals to
other symbols.
With a context-free grammar, we can generate strings of terminals that
conform to the specified language.
Our language will describe graphics.
== Example
> import Art.ContextFree
> import Data.List.NonEmpty
>
> -- Let's define a Production rule
> a = Circle 1
>
> -- This will produce an IO Svg from the blaze-svg package
> -- to turn it into a string we can use one of the `blaze-svg` renderers
> graphic1 = interpret $ Circle 1
>
> -- Let's create a non-terminal.
> -- At every layer, this will have an 85% chance
> -- of rendering another circle
> a = Mod [Move (2, 0)] b
> b = NonTerminal $ (85, c) :| []
> c = NonTerminal $ (100, Circle 1) :| [(100, a)]
to
Create art via context free grammar production rules.
== Context free grammar primer
Context free grammars consist of a set of terminal symbols, a set of
non-terminal symbols, and production rules that map non-terminals to
other symbols.
With a context-free grammar, we can generate strings of terminals that
conform to the specified language.
Our language will describe graphics.
== Example
> import Art.ContextFree
> import Data.List.NonEmpty
>
> -- Let's define a Production rule
> a = Circle 1
>
> -- This will produce an IO Svg from the blaze-svg package
> -- to turn it into a string we can use one of the `blaze-svg` renderers
> graphic1 = interpret $ Circle 1
>
> -- let's create a non-terminal, 'a', which renders a terminal, 'Circle 1'
> -- and has an 85% chance of rendering another circle, placed to its right
> a = NonTerminal $ (100, Circle 1) :| [(85, b)]
> b = Mod [Move (2, 0)] a
|
-r1 (context-free-art-0.2.0.1-r1) |
2019-10-18T21:33:15Z |
414owen |
7300b707125a41e003acc3622583702751913af9b2b2636001812d52ca610fab
|
|
Changed the library component's library dependency on 'base'
from ^>=4.12.0.0
to >=4.12.0.0 && <5 Changed the library component's library dependency on 'bifunctors'
from ^>=5.5
to >=5.5 Changed the library component's library dependency on 'blaze-svg'
from ^>=0.3.6
to >=0.3.6 Changed the library component's library dependency on 'random'
from ^>=1.1
to >=1.1 Changed the library component's library dependency on 'text'
from ^>=1.2
to >=1.2 Changed the library component's library dependency on 'text-show'
from ^>=3.8
to >=3.8 Changed the executable 'tests' component's library dependency on 'HUnit'
from ^>=1.6
to >=1.6 Changed the executable 'tests' component's library dependency on 'base'
from ^>=4.12.0.0
to >=4.12 && <5 Changed the executable 'tests' component's library dependency on 'bifunctors'
from ^>=5.5
to >=5.5 Changed the executable 'tests' component's library dependency on 'blaze-svg'
from ^>=0.3.6
to >=0.3.6 Changed the executable 'tests' component's library dependency on 'random'
from ^>=1.1
to >=1.1 Changed the executable 'tests' component's library dependency on 'text'
from ^>=1.2
to >=1.2 Changed the executable 'tests' component's library dependency on 'text-show'
from ^>=3.8
to >=3.8
|
-r0 (context-free-art-0.2.0.1-r0) |
2019-10-18T21:23:07Z |
414owen |
a6fb376a42c323cc4e46c71b08d0c65c0fc65457aad8bc5448eea4fae76b67d6
|
|
|