File: day_240__it_builds.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (37 lines) | stat: -rw-r--r-- 1,354 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Late last night, I successfully built the full webapp for Android!

That was with several manual modifications to the generated code, which I
still need to automate. And I need to set up the autobuilder properly
still. And I need to find a way to make the webapp open Android's web browser
to URL. So it'll be a while yet until a package is available
to try. But what a milestone!

The point I was stuck on all day yesterday was generated code that
looked like this:

[[!format haskell """
(toHtml
  (\ u_a2ehE -> urender_a2ehD u_a2ehE []
    (CloseAlert aid)))));
"""]]

That just couldn't type check at all. Most puzzling. My best guess is that
`u_a2ehE` is the dictionary GHC passes internally to make a typeclass work,
which somehow leaked out and became visible. Although
I can't rule out that I may have messed something up in my build environment.
The EvilSplicer has a hack in it that finds such code and converts it to
something like this:

[[!format haskell """
(toHtml
  (flip urender_a2ehD []
    (CloseAlert aid)))));
"""]]

I wrote some more about the process of the Android port in my personal blog:
[Template Haskell on impossible architectures](http://joeyh.name/blog/entry/Template_Haskell_on_impossible_architectures/)

----

Release day today. The OSX builds are both not available yet for this
release, hopefully will come out soon.