Mitchell Dalvi Rosen

Results 284 comments of Mitchell Dalvi Rosen
trafficstars

@sboosali Sure, you can follow my progress here https://github.com/mitchellwrosen/fltkhs-simple It's really nothing special, my idea is to simply use concrete newtypes around refs, and to wrap/re-expose their entire APIs (including...

Whoops, I could be wrong about this one. I forget what widget I was looking at when I made the ticket, but for the `Input` widget, it really does have...

(heh, because `getSize` gets the length of the text whereas `setSize` sets the size of the widget)

Yup, very tricky to design around in Haskell for sure. I've been working on a simplified interface to `fltkhs` that _probably_ will never become complete enough to release, but I...

fltk-1.4 doesn't seem to be officially released yet. Not even nixpkgs unstable provides it (only 1.3.4). The download link to `FLTK 1.4` from the readme is https://github.com/fltk/fltk/archive/master.tar.gz, which points at...

Oops, I'm wrong about https://github.com/fltk/fltk/archive/master.tar.gz pointing to a `1.3.4` tarball. It is some flavor of `1.4`, I was just looking at the latest changelog entry, which is for `1.3.4`. No...

Ok, well I got everything working just by installing from source and disabling xft (don't want to mess with it right now) :)

Blah, I spoke too soon, now I'm drowning in linker errors like ``` /home/mitchell/.cabal/store/ghc-8.6.2/fltkhs-0.6.0.0-5ff55cd6967ebc8a12034d16d0ea6a0ff8f9e8a1eb37fc2ec280fdedbb5b124b/lib/libHSfltkhs-0.6.0.0-5ff55cd6967ebc8a12034d16d0ea6a0ff8f9e8a1eb37fc2ec280fdedbb5b124b.a(Widget.o):ghc_350.c:fltkhszm0zi6zi0zi0zm5ff55cd6967ebc8a12034d16d0ea6a0ff8f9e8a1eb37fc2ec280fdedbb5b124b_GraphicsziUIziFLTKziLowLevelziWidget_customWidgetFunctionStruct1_info: error: undefined reference to 'Fl_Widget_default_virtual_funcs' ``` I installed `fltkhs-1.4` into a non-standard location (`~/.local/lib`, `~/.local/install`). So...

Of course I can! Hm, interestingly I'm still getting linker errors with `bundled`. Here's my `stack.yaml`: ```yaml resolver: lts-12.18 extra-deps: - fltkhs-0.6.0.0 flags: fltkhs: bundled: true ``` and the build...

Oh! My mistake. I am indeed just inside a new project with an `fltkhs` dependency. I'll do it the right way (& I'm sure it will work this time). Will...