google / google/codeworld

Requirements: Need a story for optional and repeated syntax pieces

Abierto
#785 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Haskell
Estrellas
1.3k
Forks
201
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

https://code.world/#PnQkjrztp45GAom-7ardWUA fails to check, despite having two declarations that appear, at first glance, to match the template. At first, I thought this was a failure to consider non-toplevel declarations. But it's quite the opposite! The non-toplevel declaration of `b` matches. It's the declaration of `a` that fails to match! The reason: the template has no where clause, but the definition of `a` does have a where clause. Therefore, it's not a match.

This is surprising to me, but I'm not sure how to specify exactly the behavior that I do want.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza con el ejemplo de CodeWorld enlazado y compara la plantilla con las declaraciones de `a` y `b`, incluida la cláusula where. Aclara el comportamiento previsto para las piezas de sintaxis opcionales y repetidas; después, documenta los requisitos acordados y usa el ejemplo para confirmar que el comportamiento de coincidencia resultante es correcto.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
haskell
Área
compilers
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.