Search Haskell Channel Logs

Friday, February 24, 2017

#haskell channel featuring dramforever, MarcelineVQ, osa1, Aku, glguy, monochrom,

MarcelineVQ 2017-02-24 17:46:45
hmm
dramforever 2017-02-24 17:46:52
> [1..3]>>[1..3]
lambdabot 2017-02-24 17:46:54
[1,2,3,1,2,3,1,2,3]
dramforever 2017-02-24 17:47:19
I suppose that was not good after all....
MarcelineVQ 2017-02-24 17:47:48
> length (show [1,2,3,1,2,3,1,2,3])
lambdabot 2017-02-24 17:47:51
19
monochrom 2017-02-24 17:47:54
It's good, but you can make it even shorter because the exact content of the first list doesn't matter.
monochrom 2017-02-24 17:47:59
> "abc" >> [1..3]
lambdabot 2017-02-24 17:48:03
[1,2,3,1,2,3,1,2,3]
dramforever 2017-02-24 17:48:15
monochrom: Aah Strings!
monochrom 2017-02-24 17:48:40
You got the main idea (I couldn't think it up), I just fine-tuned it. :)
dramforever 2017-02-24 17:51:15
monochrom: Isn't the whole point of codegolf fine-tuning :)
Welkin 2017-02-24 17:52:21
> repeat [1..3]
lambdabot 2017-02-24 17:52:29
[[1,2,3],[1,2,3],[1,2,3],[1,2,3],[1,2,3],[1,2,3],[1,2,3],[1,2,3],[1,2,3],[1,...
Welkin 2017-02-24 17:52:31
> cycle [1..3]
lambdabot 2017-02-24 17:52:36
[1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2...
Welkin 2017-02-24 17:52:36
:D
osa1 2017-02-24 17:55:34
do I have to use .markdown extension for my changelog files for Hackage to show it in the package page?
Welkin 2017-02-24 17:55:35
osa1: or maybe .md
osa1 2017-02-24 17:55:35
Welkin: I was thinking that but wanted to make sure
osa1 2017-02-24 17:55:35
.markdown is too long
osa1 2017-02-24 17:55:35
ah OK, criterion uses .md: http://hackage.haskell.org/package/criterion
monochrom 2017-02-24 17:56:07
I think *.md is universally understood, even github honours it.
lpaste_ 2017-02-24 18:28:55
Aku revised "myCode": "myCode" at http://lpaste.net/1060007270206668800
lpaste_ 2017-02-24 18:28:57
Aku revised "myCode": "myCode" at http://lpaste.net/1060007270206668800
Aku 2017-02-24 18:29:33
Can somebody look at my code and help?
Aku 2017-02-24 18:29:57
I have written in comments what I have to achieve!
Aku 2017-02-24 18:35:14
Is anybody up there?
glguy 2017-02-24 18:42:48
Aku: You can add a line number argument to your definition of clex
Aku 2017-02-24 18:44:07
glguy: Ya then how do I update it as I go scanning the list?