Hat Visual Neil Mitchell My Perspective A casual user When I - - PDF document

hat visual
SMART_READER_LITE
LIVE PREVIEW

Hat Visual Neil Mitchell My Perspective A casual user When I - - PDF document

University of York Hat Visual Neil Mitchell My Perspective A casual user When I fire up Hat, Im already annoyed I want answers, but if Hat is too much work I use unsafePerformIO I like Windows I have a mouse, which I


slide-1
SLIDE 1

Hat Visual

Neil Mitchell University of York

slide-2
SLIDE 2

My Perspective

  • A casual user

– When I fire up Hat, I’m already annoyed

  • I want answers, but if Hat is too much

work I use unsafePerformIO

  • I like Windows
  • I have a mouse, which I like
  • I do not develop Hat
slide-3
SLIDE 3

The concept

  • You click on what you want information on
  • Your trace is a path from start to end

– You expand the middle – The top is “main” – The bottom is a result (usually “{IO}”)

  • Easy to go back
  • Lots of ways to explore the trace
  • Can reach the same data different ways
slide-4
SLIDE 4

main {IO}

slide-5
SLIDE 5

main {IO} putStrLn (map toUpper “hello”)

slide-6
SLIDE 6

main {IO} putStrLn (map toUpper “hello”) putStr (“HELLO” ++ “\n”)

slide-7
SLIDE 7

main {IO} putStrLn (map toUpper “hello”) putStr (“HELLO” ++ “\n”) “HELLO” map toUpper “hello”

slide-8
SLIDE 8

main {IO} putStrLn (map toUpper “hello”) putStr (“HELLO” ++ “\n”) “HELLO” map toUpper “hello” ‘H’ : ‘E’ : ‘L’ : ‘L’ : ‘O’

slide-9
SLIDE 9

“HELLO” map toUpper “hello” ‘H’ : ‘E’ : ‘L’ : ‘L’ : ‘O’ toUpper ‘h’ : map toUpper “ello”

slide-10
SLIDE 10

“HELLO” map toUpper “hello” ‘H’ : ‘E’ : ‘L’ : ‘L’ : ‘O’ toUpper ‘h’ : map toUpper “ello” toUpper ‘h’ ‘H’

slide-11
SLIDE 11

An existing tool

  • I have a very approximate tool on this idea
  • Written in C#, so no one will like it

– Doesn’t even use the standard Hat library

  • Does the rough algorithm (apart from its

wrong), but a very different GUI

– The GUI is a lot worse…

slide-12
SLIDE 12

Summary

  • Top = Expression
  • Bottom = Value

Thoughts?