kgadek 2017-02-26 13:09:17
Clint: hmmmmmmmmmm that's a… hard question
kgadek 2017-02-26 13:09:38
templates built-in into pandoc are GPL'd?
Tuplanolla 2017-02-26 13:09:57
Nobody cares enough to come after your templates, kgadek.
kgadek 2017-02-26 13:10:47
Tuplanolla: well, that's true. Nobody will care. Maybe
Clint 2017-02-26 13:10:50
kgadek: i have hakyll-generated content on a website and i guarantee no one is going to sue me for the markdown source
wayne 2017-02-26 13:10:56
dmwit: oh i see where i went astray with that expansion. thanks much for going through the effort of spelling it out
dmwit 2017-02-26 13:11:18
I will go even farther: GPL all your stuff, and add a note that says "contact me if you want a more relaxed license". Then worry about the problem lazily.
kgadek 2017-02-26 13:11:30
dmwit: hahah :D
Tuplanolla 2017-02-26 13:11:44
It's not a bad idea.
kgadek 2017-02-26 13:11:45
Clint: markdown source — okay. HTML though?
dmwit 2017-02-26 13:12:17
99.9% chance of never forcing that thunk.
kgadek 2017-02-26 13:13:01
dmwit: BTW, you made my day :D this is a golden example of a proper laziness :D
Starfflame 2017-02-26 13:13:30
there a way to check for a null character?
Clint 2017-02-26 13:13:41
kgadek: someone is going to sue me to get the generated html i'm already distributing?
Starfflame 2017-02-26 13:13:46
err
dmwit 2017-02-26 13:13:46
Starfflame: ('\0'==)?
Sornaensis 2017-02-26 13:13:46
Tuplanolla: alright that's what I thought. I am trying to use catamorphisms to simplify operations on the AST
dmwit 2017-02-26 13:13:46
Starfflame: Or spell it '\NUL' if you want to emphasize that it's the null-ness you care about.
Starfflame 2017-02-26 13:13:46
like if I'm doing a fold and I want something to happen if I come to the end of the fold
dmwit 2017-02-26 13:13:46
As opposed to the codepoint-0-ness.
Starfflame 2017-02-26 13:13:46
on a string of characters
Sornaensis 2017-02-26 13:13:48
right now I have a half a dozen functions spread across a several types
dmwit 2017-02-26 13:15:10
Starfflame: The folding function itself will offer that.
dmwit 2017-02-26 13:15:21
e.g.
dmwit 2017-02-26 13:15:21
:t foldr
lambdabot 2017-02-26 13:15:21
Foldable t => (a -> b -> b) -> b -> t a -> b
Tuplanolla 2017-02-26 13:15:21
:t cata
dmwit 2017-02-26 13:15:21
The `b` argument gives the value it will use for empty lists.
lambdabot 2017-02-26 13:15:21
Functor f => (f a -> a) -> Mu f -> a
Clint 2017-02-26 13:15:21
kgadek: jgm would have to sue me based on the idea that the html i'm publishing is a derivative work of pandoc and that i'm not distributing/offering source of this pandoc derivative
dmwit 2017-02-26 13:15:21
Starfflame: Or: perhaps you would like to tell us what you're really doing, and where it went wrong.
kgadek 2017-02-26 13:15:21
Clint: hmm, in theory, someone could sue you for breaking the GPL license if you state on the blog "whatever is here is under not-a-GPL license"
Starfflame 2017-02-26 13:15:22
sure
Clint 2017-02-26 13:15:48
kgadek: doesn't matter what license i claim it's under for the purposes of this imaginary lawsuit
wayne 2017-02-26 13:15:49
GPL would make for a decent monad @_@
Clint 2017-02-26 13:16:04
it only matters that i'm violating the copyright license
Sornaensis 2017-02-26 13:16:06
lol
Clint 2017-02-26 13:16:07
which i would argue i am not
kgadek 2017-02-26 13:16:29
wayne: unsafePerformGPL? :D
Starfflame 2017-02-26 13:16:37
http://pastebin.com/hfvT7NUR
Starfflame 2017-02-26 13:16:48
so I'm going through a list such as "1+2+3-4"
Starfflame 2017-02-26 13:16:52
er wait
Starfflame 2017-02-26 13:16:54
fuck wrong function
Starfflame 2017-02-26 13:17:30
http://pastebin.com/w5azHzcT
dmwit 2017-02-26 13:17:45
Please try not to swear.
Cale 2017-02-26 13:17:45
Starfflame: btw, lpaste.net is much better
kgadek 2017-02-26 13:18:06
Clint: anyway, what you say makes a lot of sense. I'll probably go the same route
Starfflame 2017-02-26 13:18:28
so I'm taking an input of a string of words, and I'm killing all the spaces
kgadek 2017-02-26 13:19:09
thanks to all discussing!
Tuplanolla 2017-02-26 13:19:53
Are you avoiding parser combinators on purpose, Starfflame?
Cale 2017-02-26 13:34:34
kgadek: Well, you're the copyright holder on the stuff that you produce, but you only have rights to the GPLed libraries you're relying on if you satisfy the terms of those licenses. You can offer other people arbitrary terms for your work, but in order to have rights to the GPLed stuff, the GPL says you must offer the GPL license on your work.
Cale 2017-02-26 13:39:53
It probably amounts to about the same thing as putting the thing under GPL
kgadek 2017-02-26 13:39:53
Cale: yes, that's what I believe is true
Cale 2017-02-26 13:39:53
Because in order to distribute yet further things, other people will need to do the same
Cale 2017-02-26 13:39:53
(because otherwise *they* won't have rights to the GPLed parts)
Cale 2017-02-26 13:39:53
However, I don't think there's any harm in just sticking all the licenses on stuff.
kgadek 2017-02-26 13:39:53
however, the thing here is that: if I add a GPL'd library to `depends` in .cabal, and import that library, and use the methods there
kgadek 2017-02-26 13:39:53
is the source I've written a derived work?
Cale 2017-02-26 13:39:53
That's for the courts to decide
kgadek 2017-02-26 13:39:53
yeah :(
Cale 2017-02-26 13:39:53
I would tend to say "no", but people are idiots.
kgadek 2017-02-26 13:44:03
Cale: well, I *personally* agree. But IANAL so wanted YANAL and some HINAL to confirm :)
Cale 2017-02-26 13:44:08
If I produce a transparency which is intended to be layered on top of someone else's book, even if the thing I'm distributing is useless without that other work, I don't believe it would be a "derivative work".
Cale 2017-02-26 13:44:46
(so long as it doesn't duplicate any of the content of that other work)
jomg 2017-02-26 13:46:54
i agree that that sounds sensible, but afaik, the FSF interprets the matter differently
Cale 2017-02-26 13:48:11
Yes, they do.