"CodeGen with Types, for Humans, by Humans" by Matthew Griffith (Strange Loop 2022)

Strange Loop Conference · 45:39 · Watch on YouTube

Elm에는 매크로가 없지만, Matthew Griffith는 문자열 템플릿과 원시 AST 사이에 위치한 라이브러리이자 CLI인 elm-codegen을 소개합니다. 평범해 보이는 Elm 함수 호출로 Elm 코드를 생성하면, 이 도구가 import, 타입 시그니처, 포매팅, 인자 개수(arity) 안전성을 대신 처리해 줍니다. 그는 Vendr가 이 도구를 GraphQL 바인딩, 패키지 바인...

Read the full summary on retube

English