// (takeN
// ((\x -> (Prelude.unsafeCoerce ((Prelude.input x) :: Prelude.CalValue)) :: [Prelude.Int]) list)
// ((Prelude.input :: Prelude.JObject -> Prelude.Int) nToTake)
// );
EntryPointSpec allPrimesEntryPointSpec =
EntryPointSpec.make(QualifiedName.make(CALPlatformTestModuleNames.M1, "allPrimes"), new InputPolicy[] {}, OutputPolicy.CAL_VALUE_OUTPUT_POLICY);
EntryPointSpec stringListEntryPointSpec =
EntryPointSpec.make(QualifiedName.make(CALPlatformTestModuleNames.M2, "stringList"), new InputPolicy[] {}, OutputPolicy.CAL_VALUE_OUTPUT_POLICY);
String Prelude_Int = CAL_Prelude.TypeConstructors.Int.getQualifiedName();
String Prelude_CalValue = CAL_Prelude.TypeConstructors.CalValue.getQualifiedName();
String Prelude_String = CAL_Prelude.TypeConstructors.String.getQualifiedName();
String Prelude_unsafeCoerce = CAL_Prelude.Functions.unsafeCoerce.getQualifiedName();
String Prelude_output = CAL_Prelude.Functions.output.getQualifiedName();
SourceModel.TypeExprDefn listOfIntType = SourceModel.TypeExprDefn.List.make(SourceModel.TypeExprDefn.TypeCons.make(CAL_Prelude.TypeConstructors.Int));
EntryPointSpec takeNListOfInt =
EntryPointSpec.make(QualifiedName.make(CALPlatformTestModuleNames.M2, "takeN"), new InputPolicy[] {
InputPolicy.makeTypedCalValueInputPolicy(listOfIntType),
InputPolicy.DEFAULT_INPUT_POLICY
}, OutputPolicy.make("(\\x -> " + Prelude_output + " ((" + Prelude_unsafeCoerce + " x) :: ([" + Prelude_Int + "], " + Prelude_CalValue + ")))"));
SourceModel.TypeExprDefn listOfStringType = SourceModel.TypeExprDefn.List.make(SourceModel.TypeExprDefn.TypeCons.make(CAL_Prelude.TypeConstructors.String));
EntryPointSpec takeNListOfString =
EntryPointSpec.make(QualifiedName.make(CALPlatformTestModuleNames.M2, "takeN"), new InputPolicy[] {
InputPolicy.makeTypedCalValueInputPolicy(listOfStringType),
InputPolicy.DEFAULT_INPUT_POLICY
}, OutputPolicy.make("(\\x -> " + Prelude_output + " ((" + Prelude_unsafeCoerce + " x) :: ([" + Prelude_String + "], " + Prelude_CalValue + ")))"));