-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemp.hs
24 lines (21 loc) · 1.09 KB
/
temp.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module temp where
{- Casos de prueba -}
-- Test basico para leer
sampleText = "¿Eres venezolano?\n"++
" -si: ¿eres mayor de edad?\n"++
" -si: mal por ti\n"++
" -no: aun hay esperanza, huye\n"++
" -no: ¿que se siente comer bien?\n"++
" -es lo mejor del mundo: ¿por que lo dices?\n"++
" -porque si: ok\n"++
" -no quiero responder: ok\n"++
" -no es la gran cosa: no sabes lo que estas diciendo\n"
-- Test basico para imprimir (NO BORRAR)
sampleOraculo = Pregunta { pregunta = "Eres hombre" ,
opciones = M.fromList [ ("Si", Pregunta { pregunta="Te gusta el pan",
opciones=M.fromList [ ("Si", Prediccion {prediccion="gordo"}),
("No", Prediccion "sano") ] } ),
("No", Pregunta { pregunta = "Eres veneco",
opciones=M.fromList [ ("Si", Prediccion "tu futuro es incierto"),
("No", Prediccion "Bendecida y afortunada") ] }) ]
}