News for hackers. Stuff that matters.
Re:Dart 3.1 and a retrospective on functional style programm... by toastal on Thursday August 17, 2023 @03:37PM (#37166835)
I think a lot about how these things might look in a ML-family

    layout : Element → SafeString = FormLayout
       [ Section 
          { title : _ "Account information", 
          ; contents : Column
             [ Field "username"
             ; Row 
                [ Column [ Field "password" ] ]
                ; Column [ Field "password_repeat" ] ]
                ]
             ]
          }
          (* etc. you get the idea *)
        ]

There are no comments on this comment yet.