Search Haskell Channel Logs

Saturday, February 25, 2017

#haskell channel featuring dramforever, ongy, AWizzArd, Axman6, John[Lisbeth], AndreasK, and 7 others.

rmrfroot 2017-02-25 02:45:58
anyone know of a library similar to `System.Process` that uses Text instead of String?
sternmull 2017-02-25 02:46:38
rmrfroot: https://hackage.haskell.org/package/process-extras
rmrfroot 2017-02-25 02:47:00
sternmull: thank you!
Someguy123 2017-02-25 02:48:55
hey guys, I'm trying to install hledger, but I'm running into issues with hsc2hs: https://gist.github.com/Someguy123/2efd8dbaf6b057c070bf05c085e91bd8
Aku 2017-02-25 02:49:02
bollu: I would be back in another hr, dinner :D
Someguy123 2017-02-25 02:49:10
stack solver doesn't help, nor does adjusting the stack.yml
John[Lisbeth] 2017-02-25 02:56:17
does haskell have macros?
ongy 2017-02-25 02:56:38
not the way e.g. C has with CPP, but we have TemplateHaskell
John[Lisbeth] 2017-02-25 02:57:08
is it not possible to program concatenatively in haskell?
ongy 2017-02-25 02:57:28
what's concatenative programming?
John[Lisbeth] 2017-02-25 02:57:36
reverse polish notation
John[Lisbeth] 2017-02-25 02:57:51
every function takes a linked list and returns a linked list
Axman6 2017-02-25 02:59:44
uh, it's sort of possible, but Haskell is not a concatenative language, it is a functional language
ongy 2017-02-25 02:59:55
you'd have to use HList and there's pretty much support from libraries, but I don't think it's impossible. I may be wrong
ongy 2017-02-25 03:00:02
*pretty much no
Axman6 2017-02-25 03:00:10
ongy: it can be done trivially using tuples
Axman6 2017-02-25 03:00:38
http://lambda-the-ultimate.org/node/4448
ongy 2017-02-25 03:00:47
Axman6: tuples aren't linked lists. And I think they have an upper bound of elements
Axman6 2017-02-25 03:01:11
you build the list with tuples
ongy 2017-02-25 03:01:37
but a function that takes more than 17(?) arguments may be a bit weird either way
Axman6 2017-02-25 03:01:42
push :: a -> b -> (a,b), dup :: (a,b) -> (a,(a,b))
Axman6 2017-02-25 03:02:01
all functions take one arguments, even when you're pretending to be concatenative ;)
John[Lisbeth] 2017-02-25 03:02:11
ideally you could do it with currying
Axman6 2017-02-25 03:03:17
John[Lisbeth]: check out the lambda-the-ultimate link above
Axman6 2017-02-25 03:04:31
iirc it's actually possible to even get pretty much the same syntax as say forth. trying to find an example
Axman6 2017-02-25 03:05:56
https://github.com/leonidas/codeblog/blob/master/2012/2012-02-17-concatenative-haskell.md expands on that LTU comment. till trying to find the one with slightly nicer syntax
hexagoxel 2017-02-25 03:19:45
does `frag` run smoothly for anyone? the input lag i see is unbearable.
rmrfroot 2017-02-25 03:32:07
i want safer path handling, been looking at the hackage libraries `pathtype` and `path`, any recommendations?
AWizzArd 2017-02-25 03:36:15
Anybody here who uses Stack via Docker on Windows?
AndreasK 2017-02-25 03:36:54
hexagoxel: Seems normal on my machine
bollu 2017-02-25 03:37:49
Aku: ping
ongy 2017-02-25 03:38:18
bollu: aku said they have to leave for dinner and will be back in ~1hour about 45min ago
bollu 2017-02-25 03:38:28
ongy: ah, OK
bollu 2017-02-25 03:40:25
@msg Aku Sorry I wasn't around, I had to go talk to a friend. I'll be around till ~9ish, and I'll be around from 11PM onwards
lambdabot 2017-02-25 03:40:30
Not enough privileges
bollu 2017-02-25 03:42:03
what?
bollu 2017-02-25 03:42:03
you need privileges to message someone?
AndreasK 2017-02-25 03:42:03
I assume it's to prevent people spamming the bot
dramforever 2017-02-25 03:42:03
hexagoxel: It works for me
dramforever 2017-02-25 03:42:16
@help tell
lambdabot 2017-02-25 03:42:16
tell . When shows activity, tell them .
dramforever 2017-02-25 03:42:19
bollu: That? ^
bollu 2017-02-25 03:43:05
dramforever: yes
dramforever 2017-02-25 03:43:18
I can move around and the display reacts pretty much instanenously.
dramforever 2017-02-25 03:43:28
bollu: I didn't know it changed...
dramforever 2017-02-25 03:43:38
Anyway, good to know
bollu 2017-02-25 03:43:50
@tell Aku Sorry I wasn't around, I had to go talk to a friend. I'll be around till ~9ish, and I'll be around from 11PM onwards
lambdabot 2017-02-25 03:43:50
Consider it noted.
dramforever 2017-02-25 03:44:02
hey
dramforever 2017-02-25 03:44:09
these are different things apparently