Search Haskell Channel Logs

Wednesday, March 8, 2017

#haskell channel featuring c_wraith, cris_, Dasio, unclechu,

Dasio 2017-03-08 03:10:45
Hello, could someoen help me how to Group list by equivalence relation, I tried something like this http://pastebin.com/JdH1J0K4
c_wraith 2017-03-08 03:10:45
Dasio: group only groups *consecutive* elements by an equivalence relation
Dasio 2017-03-08 03:12:50
c_wraith: I found this http://stackoverflow.com/questions/8262179/group-list-by-equivalence-relation, so i have to somehow sort it ? but idk how
c_wraith 2017-03-08 03:12:50
sort is one approach, but it's not the only one
Dasio 2017-03-08 03:13:56
is there any simpler solution ?
c_wraith 2017-03-08 03:14:08
You could repeatedly use partition
c_wraith 2017-03-08 03:14:15
well, partitionBy
c_wraith 2017-03-08 03:14:28
Err, no. partition is the one that takes a predicate
unclechu 2017-03-08 03:46:24
hi guys, does anyone know how to specify 'cabal' version for Travis-CI config?
cris_ 2017-03-08 03:46:25
hi, could you check if my "personal libraries" section are correct? thanks in advance https://hastebin.com/ijeviqoqit.rb