buglebudabey 2017-01-28 09:45:20
monochrom it comes with the default hakyll layout, i've yet to change it. wanna fill me in?
monochrom 2017-01-28 09:46:02
No, just scared that the fearsome name of Rome reappears!
buglebudabey 2017-01-28 09:49:16
monochrom maybe i'll keep it :P
reactormonk 2017-01-28 10:02:53
Contextually, should URIs be built on ByteString or Text?
kadoban 2017-01-28 10:09:59
Neither one is restrictive enough, and both can encode the entire range of possible URI values I think, so ... it might not matter?
kadoban 2017-01-28 10:10:25
I believe URIs are built on ASCII, which is representable as ByteString or Text.
kadoban 2017-01-28 10:10:55
(not even full ASCII, not every ASCII string is a valid URI, by far)
EvanR_ 2017-01-28 10:11:14
dont we have unicode in domain names
opqdonut 2017-01-28 10:11:20
the spec just says a URI can contains these letters, coding isn't specified
opqdonut 2017-01-28 10:11:34
EvanR_: well it's encoded into alphanumerics (punycode)
EvanR_ 2017-01-28 10:11:39
ok
kadoban 2017-01-28 10:11:40
EvanR_: Aren't they encoded using ASCII though at an underlying level? I thought?
EvanR_ 2017-01-28 10:11:50
sounds familiar
reactormonk 2017-01-28 10:12:03
HTTP.Client uses ByteString, so I guess I'll use that.
EvanR_ 2017-01-28 10:12:10
oh right, and in the path part you have some standard that says percent encoding into utf8
EvanR_ 2017-01-28 10:12:29
percent encoding of the utf8 encoding
kadoban 2017-01-28 10:12:41
They're fairly complicated little beasts.
EvanR_ 2017-01-28 10:12:57
its encodings all the way down
EvanR_ 2017-01-28 10:13:07
or up, or something
monochrom 2017-01-28 10:13:16
@quote monochrom russian.doll
lambdabot 2017-01-28 10:13:16
monochrom says: primop is where the turtle tower ends and the russian dolls begin!
kadoban 2017-01-28 10:13:27
Heh
Atlantic777 2017-01-28 10:18:27
Is there implementation of BitVector in the standard library? I can find only 3rd party packages for bit vectors. I'm still not used to hackage, sorry.
monochrom 2017-01-28 10:21:50
Data.Array.Unboxed may uses a bitvector internally for Bool arrays. But I am not sure.
orzo 2017-01-28 10:28:58
I've been using this style lately: import qualified Data.Set as Set -- and on the next line i indent and then write another import preceded by a semicolon: ; import Data.Set (Set) -- so that the "Data.Set" text lines up both lines.
orzo 2017-01-28 10:29:08
What do you think?
orzo 2017-01-28 10:29:31
that way the module has only one import statement flush with the start of the line
geekosaur 2017-01-28 10:30:14
it's fairly common
geekosaur 2017-01-28 10:30:24
oh, the semicolon
orzo 2017-01-28 10:30:57
it's common to leave spaces in place of the absent "qualified"
orzo 2017-01-28 10:31:06
but to leave import at the start of the line
orzo 2017-01-28 10:31:51
indending suggests this import is related to the other
orzo 2017-01-28 10:35:26
it's too bad the syntax didn't put "qualified" at the end of the import statmenet rather than the start. That we could extend it to have two import lists, one preceding the qualified, and one after.
geekosaur 2017-01-28 10:36:21
there has been occasional (generally selfstalling) discussion of enhancements to import declarations