logo
  • 教程列表
  • SO官方文檔
  • 高階程式設計
    • callN 謂詞
    • maplist23
    • foldl4
    • 元通話
    • 呼叫目標列表
  1. StackOverflow 文件
  2. Prolog Language 教程
  3. 高階程式設計
  4. 呼叫目標列表

呼叫目標列表

Created: November-22, 2018

要將目標列表呼叫為目標的組合,請組合高階謂詞 call / 1 和 maplist / 2:

?- Gs = [X = a, Y = b], maplist(call, Gs).
Gs = [a=a, b=b],
X = a,
Y = b.
  • 元通話

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明